Hi all
I don't quite understand why my session variables are being dropped. Here's the problem:
I submit a form using the submit button and create session variables of the values to allow them to be carried to other pages. All's fine.
If I now move back and forward between the form and form handler using the browser buttons (as some user sometime will probably do) Firefox, Opera and Flock remembers the session variables and can populate the form handler. IE and Safari however don't have access to them. What's happening and what can I do about it?
Any help is very much appreciated.
Thanks, Steve
Missing Session variables in Internet Explorer / Safari
Moderator: General Moderators
Re: Missing Session variables in Internet Explorer / Safari
As an update,
Flock and Firefox would demonstrate the problem if I hadn't inserted the following in the header file earlier this morning:
I've read that the second line should also be the fix for IE but that seems not to be the case. IE8 / Safari still show the problem and Opera doesn't need this at all. I have to admit I'm a little out of my depth on this one at the moment. If this is a reload problem what do I need to add to the header to force IE and Safari to reload?
Thanks, Steve
Flock and Firefox would demonstrate the problem if I hadn't inserted the following in the header file earlier this morning:
Code: Select all
<?php
header("Cache-Control: no-cache");
header("Expires: -1");
?>Thanks, Steve