Re: [PHP] read session data without starting session

2003-11-26 Thread Rasmus Lerdorf
I don't really understand why you are looping through things there. A simple unserialize() on everything after the session_name| part will work just fine on arrays and everything else as well. -Rasmus On Wed, 26 Nov 2003, Andrew Warner wrote: > I have a script that browses a sessions table and

[PHP] read session data without starting session

2003-11-26 Thread Andrew Warner
I have a script that browses a sessions table and extracts and displays the session values for display. The function below (I don't remember where I got it) extracts session data without starting a session, but it doesn't handle session values that are arrays. Anyone have something like this th