RE: [PHP] session variables
| From: | daniel | Date: | Thu, 20 Mar 2003 02:18:36 +0000 |
| Subject: | RE: [PHP] session variables | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-140381@lists.php.net to get a copy of this message | ||
u have to start the session first then check with $_SESSION['tu'];
>===== Original Message From Pag <dante@mail.telepac.pt> =====
> HI,
>
> Am trying to give controlled access to who logs in to my site. Have a
>quick doubt:
>
> I register a session var named $tu (value is taken from the DB) when a
>user logs in, how can i reference to that var? I mean, if i want to check
>its value, if i do print($tu);, it doesnt seem to work.
> Thanks.
>
> Pag
>
>
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php