logout TIME and logout DATE
i have a button:
<td width="129" align="center" style="border:1px solid #999999;cursor:hand;background-color:#003366;text-align:center" onclick="parent.location.href='/mackenzie/asp/logout.asp?logOut=true';" onmouseover="fadeImgend2(4)" onmouseout="fadeImg2(4)">Logout</td>
that when clicked logs the users out.
Logout.asp:
<%
Session.Abandon
if Request.QueryString("logout")="true" then
response.redirect("session_LogOut.asp")
elseif Request.QueryString("logout")="false" then
response.redirect("session_timeout.asp")
end if
%>
How do i get the logout TIME and logout DATE? i want to insert the logout time and date into a MySQL table called authusers.
Thanks guys.
Picco
|