Re: List of sessions

From: Date: Sun, 07 May 2006 02:19:35 +0000
Subject: Re: List of sessions
References: 1 2 3 4 5 6 7  Groups: php.general 
Request: Send a blank email to php-general+get-235688@lists.php.net to get a copy of this message
On Sat, May 6, 2006 9:42 am, tedd wrote: > While we're on the subject of listing sessions, what does the > following code do? Looks like it snoops through all the sessions it can find. I suspect it will also NUKE the last session, where 'last' is whatever order readdir() feels like returning, which is not defined as any particular order... At least, I assume that after setting $_SESSION to array() that last time and ending, it's going to have nuked the last session... It might actually nuke them all for that matter... If session_decode() switches the ID around as well, then its gonna nuke them all, no? Maybe it's just a re-boot nuke all old sessions script... -- Like Music? http://l-i-e.com/artists.htm

« previous php.general (#235688) next »