Posted by avlee on 01/03/07 12:03
Hello
I have application in php where users login and logout.
I wanted to create function for administrator which will
delete all session's data for other users.
For example, each user session data is written in:
$_SESSION['$username']['data']
I wanted to delete such information from administrator account.
$session_data =3D $_SESSION['$username']['data']
unset($session_data)
I provide username - and appripriate username session data is deleted.
But i receive error that $_SESSION['$username']['data'] does not exist.
I suppose that it's because of that it's stored in $users session - not
administrator session.
Is there any way to delete some information stored in somebody's else =
session ?
Thanx
[Back to original message]
|