I am setting a session variable in PHP as follows:
$_SESSION['pass'] = $pass;
where $pass is some password, ie. "test4;" The session variable on the left side works fine, but I found to my surpise and concern that $pass on the right side also seems to be a session variable, that is, once set, I can echo $pass from any page and it seems to persist until I destroy the session.
What gives? How can I prevent this?
Thanks!
$passcome from?$pass.