Re: session logout

From: Date: Sat, 18 Nov 2000 22:19:49 +0000
Subject: Re: session logout
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-4543@lists.php.net to get a copy of this message
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 > >

« previous php.db (#4543) next »