Re: PHP 4.0 Bug #8073 Updated: MS Internet Explorer 5, Post Method(forms) and session_start()
| From: | Alejandro Ramirez | Date: | Wed, 06 Dec 2000 00:10:53 +0000 |
| Subject: | Re: PHP 4.0 Bug #8073 Updated: MS Internet Explorer 5, Post Method(forms) and session_start() | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-40184@lists.php.net to get a copy of this message | ||
Dear sirs:
I appreciate and understand your answer but I insist this is a bug:
If this is not a bug, there is a big inconsistency: why when I Use the GET method in a form, with the session.cache_limiter (php.ini) set to "nocache", I'm allowed to go back and forth through the executed pages with no problem? (I mean, according to your answer, the GET method in a form overrides the nocache option in the session.cache_limiter changing it to "public" or "private".
I tested the private and public options for the session.cache_limiter and got dissapointed with the fact that client users will execute the cached versions of the php files even when they press the "refresh" button of their browsers. That means that they won't be able to load my newer versions of the files. Is this the expected behavior?
There's got to be a way to use no-cache and the post method without the need for those annoying Internet Explorer messages to show up.
Thanks,
Alejandro Ramirez
From: Bug Database <php-dev@lists.php.net> To: aramirez66@hotmail.com Subject: PHP 4.0 Bug #8073 Updated: MS Internet Explorer 5, Post Method(forms) and session_start() Date: 3 Dec 2000 04:26:27 -0000 ID: 8073 Updated by: sniper Reported By: aramirez66@hotmail.com Status: Closed Bug Type: *Session related Assigned To: Comments: When you use sessions, the 'non-cache' headers are sent which causes this. And it's not a bug in PHP. Or in IE. You can change the behaviour within php.ini:_____________________________________________________________________________________ Get more from the Web. FREE MSN Explorer download : http://explorer.msn.comsession.cache_limiter = nocache; set to {nocache,private,public} to ; determine HTTP caching aspects --Jani Previous Comments: --------------------------------------------------------------------------- [2000-12-01 19:24:19] aramirez66@hotmail.com It takes the interaction of three web pages for the problem to show up: 1) a php file with session_start() and a form (Post Method) pointing (action) to file 2. 2) Once the form in file 1 is submitted we get to php file 2. File 2 also uses session_start() and links to file 3. 3) we are in file 3 and try to get back to file 2, I get this message from internet explorer instead of file 2. "Warning: Page has Expired The page you requested was created using information you submitted in a form. This page is no longer available. As a security precaution, Internet Explorer does not automatically resubmit your information for you. To resubmit your information and view this Web page, click the Refresh button." This situation does not happen when: 1) Use "session_start" and "get method" on file 1) 2) use "post method" but do not use "session_start". So it looks like the problem is with the "session_start" function. I replicated the same programs with .asp (microsoft) (e.g. using session handling and post method) and no problem. I hope this helps, Alejandro Ramirez Caracas - Venezuela --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=8073