RE: [PHP] still on sessions
| From: | John Holmes | Date: | Fri, 26 Jul 2002 23:04:08 +0000 |
| Subject: | RE: [PHP] still on sessions | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-109900@lists.php.net to get a copy of this message | ||
> Alright this is my last question. I have closed the session, but can i
> make
> sure it is closed? i want to use something like if the session is
closed
> then print a message session closed.
You don't have to close it; it's automatic. Just treat $_SESSION like
the regular variable it is. Anything you assign to it will be available
on any page you call session_start(). How much easier can it be??
If you really want a message, then on the last line of your file put
echo "Session Closed";
---John Holmes...