Re: [PHP] Close a session knowing it's ID (not the current session)

2007-11-05 Thread Jochem Maas
Richard Heyes wrote: > unlink('/tmp/sess_' . session_id()); unlink(session_save_path().'/'.session_id()); // no? > ?> > > You'll need to know the session_id of the session you want to close. The > code above closes/ends the current users session, but simply substitute > the desired session

Re: [PHP] Close a session knowing it's ID (not the current session)

2007-10-24 Thread Richard Heyes
You'll need to know the session_id of the session you want to close. The code above closes/ends the current users session, but simply substitute the desired session id (of course you'll need to know this in advance) for the call to session_id(). -- Richard Heyes +44 (0)800 0213 172 http://w