Hi
I have updated the database when browser is closed,But i have a small problem.i.e. The database is updating when the page is refreshing also.
I need that the Database should be updated on when the browser is closed(Not updated when page is refreshed).
Naveenk2k 0 Newbie Poster
Recommended Answers
Jump to Post"The onLoad and onUnload events are triggered when the user enters or leaves the page." -- w3schools
A refresh is leaving a page and then entering the same once again. I don't think there is a way to see if the same page will be loading again, or if …
All 2 Replies
pritaeas 2,211 ¯\_(ツ)_/¯ Moderator Featured Poster
digital-ether 399 Nearly a Posting Virtuoso Team Colleague
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.