Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Classic ASP Databases Discuss using ASP 3 to work with data in databases, including ASP Database Setup issues from the old P2P forum on this specific subtopic. See also the book forum Beginning ASP.NET Databases for questions specific to that book. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Databases section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old January 19th, 2005, 07:59 AM
Friend of Wrox
Points: 8,019, Level: 38
Points: 8,019, Level: 38 Points: 8,019, Level: 38 Points: 8,019, Level: 38
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Jan 2005
Location: Mauchline, East Ayrshire, Scotland
Posts: 1,525
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to crmpicco Send a message via AIM to crmpicco Send a message via MSN to crmpicco Send a message via Yahoo to crmpicco
Default 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.


if Request.QueryString("logout")="true" then
elseif Request.QueryString("logout")="false" then
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.


Ayrshire Minis - a Mini E-Community
Old January 19th, 2005, 09:13 AM
Friend of Wrox
Join Date: Jun 2003
Location: , , USA.
Posts: 1,110
Thanks: 0
Thanked 3 Times in 3 Posts


Old January 20th, 2005, 12:01 AM
Authorized User
Join Date: Aug 2004
Location: Calicut, Kerala, India.
Posts: 58
Thanks: 0
Thanked 0 Times in 0 Posts

The now() function will return current date and time. You can use this values to insert in your db.

Similar Threads
Thread Thread Starter Forum Replies Last Post
disply logout time dayarprasad Classic ASP Databases 1 June 26th, 2006 11:48 PM
Disply logout time dayarprasad MySQL 0 June 22nd, 2006 11:40 PM
Disply Logout Time in asp dayarprasad MySQL 1 June 22nd, 2006 08:43 AM
logout TIME and logout DATE crmpicco Classic ASP Basics 0 January 19th, 2005 07:57 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.