Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Record user logons(time,date) in the Database.

Status
Not open for further replies.

suseli

Technical User
Dec 9, 2005
77
GB
I have created a ASP login page for the users in Dreamweaver. Username and password are saved in the MS Access Database. Is there anyway that i can record the user's logons time and date in the database. For eg if userx logons the username, time & date will be saved in the database.
 
Please can you tell me how can i do it in Dreamweaver?
 
As ChrisHirst is trying to tell you you can either insert a new record into another table using the userID & Now() this will maintain a log of when the users have logged in or just update a field in the user table with Now() to show the last logged in date/time

Cheech

[Peace][Pipe]
 
I not only the last instance but all the logins been made by the user.
 
Then just insert a new record into a seperate table that captures the user ID and has a column set up with a default value of Now()

[Peace][Pipe]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top