RE: [PHP] How to resume session by id?

From: Date: Thu, 16 Aug 2001 15:24:06 +0000
Subject: RE: [PHP] How to resume session by id?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-63038@lists.php.net to get a copy of this message
Did you start the session like this: $Session = array( /* values to array */ ); session_start(); session_register("Session"); -----Original Message----- From: Darius Ivanauskas [mailto:darius@nomagiclt.com] Sent: 16. elokuuta 2001 18:14 To: Niklas Lampen Cc: php-general@lists.php.net Subject: RE: [PHP] How to resume session by id? On Thu, 16 Aug 2001, Niklas Lampen wrote: > > Link in HTML like <a > > href="http://www.myserver.com/myfile.php?<?=SID>>Link</a> > And on the "myfile.php" you have to do this in the beginning of file: > > session_start(); In this place it starts a new session because it didn't gets session_id neither trough GET/POST nor cookie. :(((( -- Darius Ivanauskas > if (session_is_registered("Session")) { > /* This code is run if Session called "Session" is registered */ > }; > > > Hopefully this helps you out. > > > Niklas Lampen > > > > -----Original Message----- > From: Darius Ivanauskas [mailto:darius@nomagiclt.com] > Sent: 16. elokuuta 2001 16:51 > To: php-general@lists.php.net > Subject: [PHP] How to resume session by id? > > > I'm getting session id neither from cookie, nor from GET/POST vars, > but by parsing url > like: > http://myserver.com/script.php/<session_id>/blah/blah > > How do i resume session by given <session_id>? > > Thanks in advance. > -- > Darius Ivanaukas > > > -- > 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 > > > -- > 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 > -- 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

« previous php.general (#63038) next »