note 84858 rejected from reserved.variables.session by danbrown

From: Date: Sat, 02 Aug 2008 03:33:47 +0000
Subject: note 84858 rejected from reserved.variables.session by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-143045@lists.php.net to get a copy of this message
Note Submitter: jahanaddison6 at hotmail dot com ---- It would seem that values given to the $_SESSION variable are "cleaned" when using right before header(). For an example <?php session_start(); if ($username == $required) { $_SESSION['username'] = $username; header("Location: index.php"); } ?> Maybe I'm wrong or there is a workaround, if so, please inform me

« previous php.notes (#143045) next »