note 55762 deleted from function.header by bjori

From: Date: Mon, 27 Mar 2006 09:47:55 +0000
Subject: note 55762 deleted from function.header by bjori
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-106719@lists.php.net to get a copy of this message
Note Submitter: ---- It seems when I set session variables and redirect to another page, the variables are not set in Mozilla browsers. $_SESSION['userInfo'] = getUserInfo($rs); session_write_close(); redirect("LoginApproved.php?loginType=$loginType"); exit; The page it redirects to depends on userInfo if(empty($_SESSION['userInfo']) || $_SESSION['userInfo']->GetLoginType() != "Admin"){ $msg = (empty($_SESSION['userInfo']))? "empty":$_SESSION['userInfo']->GetLoginType(); redirect("Unauthorized.php?msg=$msg"); exit; } msg is set to "empty" in Mozilla browsers, while it displays the page correctly in IE.

« previous php.notes (#106719) next »