Re: session logout
| From: | Jayme Jeffman Filho | Date: | Mon, 20 Nov 2000 00:00:16 +0000 |
| Subject: | Re: session logout | ||
| References: | 1 2 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-4562@lists.php.net to get a copy of this message | ||
You can solve this using JavaScript, setting a cookie and it might be other
ways of doing that. The first way that came in my mind was call a logout
script when you leave one site to another, using the "OnUnLoad" event of the
"body" tag .
HTH
Jayme.
http://www.conex.com.br/jjeffman
-----Mensagem Original-----
De: phobo <antiphobo@paradise.net.nz>
Para: bryan <bryan@concept-factory.com>
Cc: <php-db@lists.php.net>
Enviada em: sábado, 18 de novembro de 2000 20:19
Assunto: Re: [PHP-DB] session logout
> why not store which site you log into, in the session ? that way you can
see
> if you are visiting a site that 'you are logged into' ...
>
> siggy
>
> ----- Original Message -----
> From: "bryan" <bryan@concept-factory.com>
> To: <php-db@lists.php.net>
> Sent: Sunday, November 19, 2000 10:39 AM
> Subject: [PHP-DB] session logout
>
>
> > Hey,
> >
> > Say I have 2 sites, same password same username. I have a Session
started
> > in one site, and a session started in the other. If I do not log out
from
> > one site and go directly to another, I am still logged in, by-passing my
> > login script. I have a check set up on both sites to say:
> >
> > if (isset($SID)) {
> >
> > session_destroy();
> >
> > }
> >
> > session_start();
> >
> > blah blah etc...
> >
> > is there any way to make the session stop from site to site. Thanks for
> > the help!
> >
> > Bryan-
> >
> > Bryan Fitch
> > Programmer
> > Concept-Factory
> > http://www.concept-factory.com
> > bryan@concept-factory.com
> >
> >
> >
> > --
> > PHP Database Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
> > For additional commands, e-mail: php-db-help@lists.php.net
> > To contact the list administrators, e-mail: php-list-admin@lists.php.net
> >
> >
>
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
> For additional commands, e-mail: php-db-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>