Update database while closing a window without logout

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
sathyaparthi
Forum Newbie
Posts: 7
Joined: Fri Jul 09, 2010 12:06 am

Update database while closing a window without logout

Post by sathyaparthi »

How to update database value while closing a window without logout.
i need to change a column value in a database without clicking logout.
dejvos
Forum Contributor
Posts: 122
Joined: Tue Mar 10, 2009 8:40 am

Re: Update database while closing a window without logout

Post by dejvos »

Try AJAX. Set up listener to close window event.
sathyaparthi
Forum Newbie
Posts: 7
Joined: Fri Jul 09, 2010 12:06 am

Re: Update database while closing a window without logout

Post by sathyaparthi »

Can u pls give me an example for listener
Post Reply