On Thursday 17 July 2003 23:03, John Carpenter wrote: > I am having a hard time understanding what effect the back button has on > session variables. I have noticed that on some of my pages the back button > does not cause my application to have problems while on other pages it > does. To make matters more confusing the problem occurs on Windows machines > but does not occur on Macintoshes. Has anyone had a similar experience or > does anyone know where to get a good explanation as to what effect the back > button has on session variables.
That depends on 2 things: 1) Whether or not the browser conforms to the rfc (something or another). If it conforms then the BACK button does not re-request the page. If it doesn't conform then it may re-request the page. 2) What your application does with the session variables when a page is re-requested not in the order that your application expects. What it boils down to is that if your application expects the user to access pages in a certain sequence then it has to do some sanity checking so that if pages are accessed out of sequence then some appropriate measure is taken. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * ------------------------------------------ Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general ------------------------------------------ /* Many people write memos to tell you they have nothing to say. */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php