PHP 4.0 Bug #8073 Updated: MS Internet Explorer 5, Post Method(forms) and session_start()
| From: | sniper@php.net | Date: | Sun, 03 Dec 2000 04:26:27 +0000 |
| Subject: | 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-39890@lists.php.net to get a copy of this message | ||
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:
session.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