problem with session data
Posted: Tue Nov 25, 2003 4:33 am
Hi,
I'm building a program for time-management. I need a way to know if a user is allready logged in, so an account is only used once at the time.
I did find a way when the user klicks the logout button, its not very hard that way, but when the user just closes the browser, I'm in trouble.
Since I'm an ordinary programmer, programming applications that have to work on all servers, I don't have access to the php.ini-file.
No, I'm looking for a way to delete the old session-data (or sessions themselves) on the server.
It would be nice if I could make it work that when a session is inactive for lets say 15 minits, it will be deleted on the server.
I am not aware if this is hard to do with php.
I hope there is somebody out there that can help me
Thanx
I'm building a program for time-management. I need a way to know if a user is allready logged in, so an account is only used once at the time.
I did find a way when the user klicks the logout button, its not very hard that way, but when the user just closes the browser, I'm in trouble.
Since I'm an ordinary programmer, programming applications that have to work on all servers, I don't have access to the php.ini-file.
No, I'm looking for a way to delete the old session-data (or sessions themselves) on the server.
It would be nice if I could make it work that when a session is inactive for lets say 15 minits, it will be deleted on the server.
I am not aware if this is hard to do with php.
I hope there is somebody out there that can help me
Thanx