Page 1 of 1
PHP session check
Posted: Sat Aug 28, 2004 2:16 am
by Cesar

Please Help me!
What can i know the client session is active or not and client closed his browser or not?
Regards.

Posted: Sat Aug 28, 2004 2:50 am
by anjanesh
Check for Timeout - session.gc_maxlifetime.
PHP session check - correction
Posted: Sat Aug 28, 2004 3:07 am
by Cesar
When client open the session I put data in my database, and i like in order after close client browser make update the my database.
Regards.
Posted: Sat Aug 28, 2004 3:08 am
by feyd
if you are using database sessions, store the last time they accessed something. That can tell you who and when someone was active.
Posted: Sat Aug 28, 2004 3:31 am
by Cesar
I dont using database session.
Posted: Sat Aug 28, 2004 3:36 am
by feyd
Cesar wrote:When client open the session I put data in my database, and i like in order after close client browser make update the my database.
That says to the contrary..
Posted: Sat Aug 28, 2004 3:44 am
by Cesar
description of problem.
1. I have mysql database, and many rows in database.
2. Many client are connect and manage his.
3. before manage row in database i am puting to database number the row.
4. i like delete that row number of database after manage. I make this, but when client closed browser between managing, i dont make this.