Who is logged in? Force Logout
Posted: Wed Apr 11, 2007 11:00 am
Hi All,
I have created a invoice mangement system that requires multiple logins and will have numerous users online at any given time.
Can someone help me solve the following issues?
1. How can i view who is logged in using sessions? is there a "view all active sessions" function that will list the $_session["username"] value i set when they login. Currently i have a db field that is set to yes when they login and no when logout, however if they dont click the logout button then the db field stays at yes and the user appears on the onnline list.
2. Also can i force logouts? Kill Sessions
3. Can i end all Sessions after 20 minutes and show a countdown to logout to the user
Hope there is some1 out there with time to help me
superkav

I have created a invoice mangement system that requires multiple logins and will have numerous users online at any given time.
Can someone help me solve the following issues?
1. How can i view who is logged in using sessions? is there a "view all active sessions" function that will list the $_session["username"] value i set when they login. Currently i have a db field that is set to yes when they login and no when logout, however if they dont click the logout button then the db field stays at yes and the user appears on the onnline list.
2. Also can i force logouts? Kill Sessions
3. Can i end all Sessions after 20 minutes and show a countdown to logout to the user
Hope there is some1 out there with time to help me
superkav