I have a website where people can login. Now, after they're login, I insert their session_id to a table `session`(user_id, session_id, timestamp, page_viewing).
Now, if a user logs out, leave my site, or close the browser, I want that particular session row in the table to be deleted. How is that done?
Updating and deleting a session_id in a MySQL table
No replies to this topic
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users