Re: LiveUser and HTTP/Session2

From: Date: Mon, 17 Jul 2006 07:21:33 +0000
Subject: Re: LiveUser and HTTP/Session2
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-24666@lists.php.net to get a copy of this message
Louie Miranda wrote:
It is just last week that i quite understand how pear authentication works, I'm still trying to figure out the permissions but generally I really have to focus on the document/tutorial they have given. Its all their in general. Anyways.. I have this old code which uses HTTP/Session2 (for PHP5), which works perfectly before. I save them using.. HTTP_Session2::set('line_1_1', $record[0][16]); HTTP_Session2::set('line_2_1', $record[0][18]); HTTP_Session2::set('line_3_1', $record[0][20]); HTTP_Session2::set('line_4_1', $record[0][22]); HTTP_Session2::set('line_5_1', $record[0][24]); and so on... When i used LiveUser, i noticed that this code of mine does not work anymore. Can i use them both? Which on my case, it did not work. And if ever, i think i have to use the Session of LiveUser, but i think that is only used for authentication.
LiveUser also uses PHP sessions. However afaik you can get both to work together by registering a custom session handler with the 'session_save_handler' option: http://pear.php.net/package/LiveUser/docs/latest/LiveUser/LiveUser.html#methodfactory regards, Lukas

« previous php.pear.general (#24666) next »