tripwater
10-01-2003, 10:45 AM
I have a site that I built using php, running apache server.
I have noticed that when you hit back in the browser, the page has timed out in IE and requires a refresh, in Mozilla it popups a box to let you know that it needs to resend post data.
I understand this, but the remedy is what has me troubled. I added :
session_cache_limiter('private_no_expire');
at the top of a few of the pages and now everything seems fine. So I decided to set this in Apache so I do not have to add this at the top of all of my pages and it does what the function, did only now I have problems with session vars not being set properly or when I set the page to refresh after setting a new session var it does not work.
I see alot of sites that allow you to enter post info and hit the back button and my site is annoying with this. Any ideas?
Thank you.
I have noticed that when you hit back in the browser, the page has timed out in IE and requires a refresh, in Mozilla it popups a box to let you know that it needs to resend post data.
I understand this, but the remedy is what has me troubled. I added :
session_cache_limiter('private_no_expire');
at the top of a few of the pages and now everything seems fine. So I decided to set this in Apache so I do not have to add this at the top of all of my pages and it does what the function, did only now I have problems with session vars not being set properly or when I set the page to refresh after setting a new session var it does not work.
I see alot of sites that allow you to enter post info and hit the back button and my site is annoying with this. Any ideas?
Thank you.