hey everyone,
Just wondering when you do a DEFINE statement can you register that as a variable for sessions?
Like a use a define ( "LOGGED_IN", "TRUE" );
then on another page a can use the LOGGED_IN define variable?
Thanks to all
Firstly, "define" defines constants, not variables.
Why not do this:
$_SESSION['logged_in'] = true;
That is the current way I am doing it. I was just curious as to wether it could be done. Thanks anyways though