Re: ending a session
| From: | Raphael Hamzagic | Date: | Thu, 05 Sep 2002 21:32:09 +0000 |
| Subject: | Re: ending a session | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-115358@lists.php.net to get a copy of this message | ||
Of course Gurhan,
I have read all the php manual.
How can I send a message when the user closes the browser to destroy the
session?
Thanks in advance
Raphael
"Gurhan Ozen" <ergenekon@starpower.net> wrote in message
news:1031261344.5091.266.camel@LOCALHOST...
> You can end the session by using function session_destroy().
> See:
>
> http://www.php.net/manual/en/function.session-destroy.php
>
> For general information on how PHP handles sessions see:
>
> http://www.php.net/manual/en/ref.session.php
>
> Hope this helps.
> Gurhan
>
> On Thu, 2002-09-05 at 17:17, Raphael Hamzagic wrote:
> > Hi,
> >
> > I'm just wanna know why the session doesn't end when the user closes the
> > browser window and how can i make it.
> >
> > Thanks
> >
> > Raphael
> >
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
>
>
>