-
Delete a record from database
I am making a flash chat application.
I have a "logout" button in my flash which can delete a record from mysql database through php.
But what if the user decides to close the browser window without even logging out?
Is there a way I can delete the user record from database(as in Logout) when the user closes the window?
-
Hi,
common practice with chats, forums etc: as long as the user is active, activities can be recorded in the database with a time stamp. Now, if the browser is closed, the timestamp will no lobger be updated. After a few minutes, the visitor is considered to be offline / gone
Musicman
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|