| Welcome to WebmasterWorld Guest from 22.214.171.124 |
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
|Become a Pro Member|
|function on page close|
php function on page close
How do i setup a timestamp that rights to mysql on website page close?
Can i add a function based on page closure or do i have to add a session time out mechanism?
Thanks in advance!
if($_POST["h"] == "close") do the sql query
document.a.h.value = "close";
<form name="a" method="POST" action="i.php">
<input type="hidden" name="h">
Hope it helps you somehow!
Thanks - you are a *
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved