Re: Session management module - thoughts

From: Date: Mon, 31 May 1999 03:40:01 +0000
Subject: Re: Session management module - thoughts
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-6318@lists.php.net to get a copy of this message
> > While I don't know how ASP deals with it, I can think of a vague approach > > towards a solution. We can probably spawn a thread (under Win32) or a > > process (under UNIX) that'll simply clean up old sessions, while sleeping > > most of the time. We can kill this thread/process at the server shutdown. > > That's also not going to be acceptable for some ISPs. Many strictly > prohibit their users from running their own daemons. I think we > need to provide the fallback of doing the cleanup on a per-request > basis (perhaps regulated by some element of randomness as PHPLIB's > apparently is). Also keep in mind that a whole whack of ISP's run PHP under cgiwrapper or suExec. Unless we open up the umask, a request to one particular user's page is not going to be able to clean up files from another user's session. (Sorry for dropping off the face of the earth for a few days. I got stuck in Montreal a day longer than expected) -Rasmus -- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net For help: php-dev-help@lists.php.net

« previous php.dev (#6318) next »