Mikeinutah
Programmer
I need to set an expiration date on a form page so that it will expire. This is necessay so that user of the form can't hit the browsers back button and re-populate the fields with past information.
I am using the following code and it works just fine in Firefox, but it doesn't work in IE or Opera. What am I doing wrong?
Any help would be greatly appreciated.
Thanks.......Mike
I am using the following code and it works just fine in Firefox, but it doesn't work in IE or Opera. What am I doing wrong?
Code:
print header(-type => 'text/html',
-expires =>'Wed, 15 Jul 2004 00:00:00 GMT',
-Last-Modified =>'Wed, 15 Jul 2004 00:00:00 GMT',
-cookie => $User_cart,
-Pragma => 'no-cache',
-Cache_Control => 'no-store, no-cache, must-revalidate, post-check=0, pre-check=0');
Any help would be greatly appreciated.
Thanks.......Mike