[PHPLIB] Re: [PHP3] Permanent Sessions using PHPLIB From: Jesse Swensen (swensenj <email protected>)
Date: 01/22/00

Cross posted to the PHPLib list
(<http://phplib.netuse.de/support/index.php3>) where this should be.

First, I believe what your are asking for is a permanent authorization not a
session. So with that in mind, I took a look at auth.inc and found this:

  var $lifetime = 15; ## Max allowed idle time before
                                  ## reauthentication is necessary.
                                  ## If set to 0, auth never expires.

-- 
Jesse Swensen
swensenj <email protected>

> From: "Ankur Verma" <ankurv <email protected>> > Date: Sat, 22 Jan 2000 19:29:31 +0530 > To: "PHP Mailing List" <php3 <email protected>> > Subject: [PHP3] Permanent Sessions using PHPLIB > > Hello Friends > > Has anyone been able to implement permanent sessions using PHPLIB. By > Permanent Sessions I mean the sessions as yahoo as where the users userid is > stored in a cookie whose expiry date has been set to a date in distant > future. Once the cookie has been set, each time the user opens yahoo, he > does not need to logon. The website remebers the user and logs him on > instantly. > > But in PHPLIB, the session lasts only till the browser window is closed. > After that the user has to logon again. I want it to function in the way > described above ie. the session should be time based, not delimited by the > browser window. > > If someone has implemented this kind of functionality using PHPLIB, please > refer to me some tips on how to go about it. Also any other help about > implementing such functionality in PHPLIB would be highly appreciated. > > Thanks for your help in advance > > Ankur Verma > <ankurv <email protected>> > > > > -- > PHP 3 Mailing List <http://www.php.net/> > To unsubscribe, send an empty message to php3-unsubscribe <email protected> > To subscribe to the digest, e-mail: php3-digest-subscribe <email protected> > To search the mailing list archive, go to: http://www.php.net/mailsearch.php3 > To contact the list administrators, e-mail: php-list-admin <email protected> > >

- PHP3 Base Library Mailing List. Send messages to <phplib <email protected>>. To unsubscribe, send "unsubscribe" to <phplib-request <email protected>> in the body, not the subject, of your message.