I've noticed that "active sessions" remain in the database even after logging out.
Why?
Is there a reason I'm missing, or is something not configured correctly on my side? I can't delete the sessions from the view_sessions.php3 either. After check marking the boxes and hitting delete, the session info returns along with the message "0 Sessions Deleted". I'm baffled here...
-- Angel
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2003-04-10
Sessions are not expired and so they can't be deleted?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It's hard to say what's wrong cause I can't see your configuration, but the session usually does stay in the DB untill garbage collection is done via the gc() function in sessions. I don't use the view_sessions.php way so I can't help there. What I can say is that in order to delete from any database, the application that's connecting TO the database has to have the proper database privileges. Make sure your *Sql class has a username and password to connect to the database and that the username at the prescribed host has update,delete priviliges on the database as well.
Good luck
conrad
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I've noticed that "active sessions" remain in the database even after logging out.
Why?
Is there a reason I'm missing, or is something not configured correctly on my side? I can't delete the sessions from the view_sessions.php3 either. After check marking the boxes and hitting delete, the session info returns along with the message "0 Sessions Deleted". I'm baffled here...
-- Angel
Sessions are not expired and so they can't be deleted?
It's hard to say what's wrong cause I can't see your configuration, but the session usually does stay in the DB untill garbage collection is done via the gc() function in sessions. I don't use the view_sessions.php way so I can't help there. What I can say is that in order to delete from any database, the application that's connecting TO the database has to have the proper database privileges. Make sure your *Sql class has a username and password to connect to the database and that the username at the prescribed host has update,delete priviliges on the database as well.
Good luck
conrad