ID:               37382
 Updated by:       [EMAIL PROTECTED]
 Reported By:      eschultz at lwmc dot com
-Status:           Open
+Status:           Feedback
 Bug Type:         Session related
 Operating System: Server2003 w/ IIS 6
 PHP Version:      5.1.4
 New Comment:

Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves. 

A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external 
resources such as databases, etc.

If possible, make the script source available online and provide
an URL to it here. Try to avoid embedding huge scripts into the report.

Smells like IE bug though


Previous Comments:
------------------------------------------------------------------------

[2006-05-09 14:58:11] eschultz at lwmc dot com

Description:
------------
I have developed a web application that uses a session variable that
only allows valid users to use any page with in the app.  While beta
testing my app with the new IE7 the session variables will be dropped
randomly and redirect me to my unauth users page.

Reproduce code:
---------------
if($_SESSION['valid']!="yes")
{
header("Refresh: 0; URL=$folder/unauth_user.php");
exit;
}

Expected result:
----------------
when the session variable 'valid' is not set to yes, the user was never
authorized to view this page.  The user should then be redirected to the
unauth_user.php page.

Actual result:
--------------
The code is working correctly, the problem is that a valid user will
get redirected by accident because the variable resets or loses its
value


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=37382&edit=1

Reply via email to