|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2006-05-09 20:08 UTC] bjori@php.net
[2006-05-11 21:18 UTC] richard at elpinto dot com
[2006-05-13 19:50 UTC] richard at elpinto dot com
[2006-05-17 01:00 UTC] php-bugs at lists dot php dot net
[2006-06-19 14:28 UTC] byron at foundry dot co dot za
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Nov 03 08:00:01 2025 UTC |
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