Re: List of sessions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux