Page 1 of 1

$_SESSION variable and variable same name problem

Posted: Wed Feb 22, 2006 11:04 am
by Tehquickness
If you have a session variable and a regualar variable with the same name does it cause havoc in your program??
I think this was the solution to a problem I was having but not sure.

Posted: Wed Feb 22, 2006 11:07 am
by feyd
provided the register_globals setting is off and/or you aren't using session_register() they shouldn't have any crosstalk problems.