Re: Purging Expired Session Objects

From: Date: Wed, 06 Sep 2000 19:20:28 +0000
Subject: Re: Purging Expired Session Objects
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-15580@lists.php.net to get a copy of this message
Hello, The exact warning message is: Warning: purged 0 expired session objects in Unknown on line 0 I also get this messages on my websites and i also would like to get rid of it. I would really appreciate it, if you would share any solutions you find for this problem. Thanks in advance, Dries Verachtert On Wed, 6 Sep 2000, Ben Lanson wrote: > Date: Wed, 06 Sep 2000 14:38:53 -0400 > From: Ben Lanson <lanson@bellatlantic.net> > To: php-general@lists.php.net > Subject: [PHP] Purging Expired Session Objects > > I am looking for more information relating to the warning about purging > expired session objects (sorry, I don't quite recall the exact syntax). > >From what I have been able to glean from the little information I've found, > what's happening is that when I start a new session, if the garbage > collector finds an expired session of mine and purges it (which it does > with a 5%?? chance), then I get this warning. What is the best way to hide > the warning? Ideally, I'd like to eliminate the cause, but I'll settle for > hiding the warning. I am currently considering a cron job to purge expired > session files or altering the warning level so the message disappears. Is > my understanding correct? Does session_destroy delete session files > reliably (sort of moot, since I don't figure that users will logout > reliably). Does anyone have a novel way to deal with this? > > Thanks, > Ben > > > -- ---- Dries Verachtert, Skotty@IRC, dries@ulyssis.org "You're one of those condescending Unix computer users!" "Here's a nickel, kid. Get yourself a better computer" - Dilbert.

« previous php.general (#15580) next »