Re: How to check if a current session is going?
| From: | Chris Lee | Date: | Fri, 23 Feb 2001 20:13:54 +0000 |
| Subject: | Re: How to check if a current session is going? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-41376@lists.php.net to get a copy of this message | ||
check if your session variable is set.
ie, lets say your session variable is called SessionID
<?php
if (isset($HTTP_SESSION_VARS['SessionID']))
{
echo "SET <br>\n";
}
?>
--
Chris Lee
Mediawaveonline.com
ph. 250.377.1095
ph. 250.376.2690
fx. 250.554.1120
lee@mediawaveonline.com
"Michael Zornek" <mikezornek@mikezornek.com> wrote in message
news:a05001900b6bc8c348c90@[38.241.81.150]...
> I have a auth system in the works and if a session is going then they
> are "logged in".
>
> What's the best way to check to see if a session is currently in progress?
>
> Mike
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>