how can i update a table when a user close the page or exit from that page………………
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can’t (directly). You could however attempt to make a JavaScript unload event call (via Ajax) to the server which would then trigger the required MySQL activity.
However, you can’t really rely on this happening reliably (not everyone has JavaScript installed, etc.)
What problem are you attempting to solve?