Jump to content

login system, and timestamp


PC Nerd

Recommended Posts

hi guys

 

im createing a new login system, before i was simply using cookies

 

what i want to do is log every login, length and time in the database.  so i want to create a new record, with a unique login id, and link it with the user id.  then i want to know that particulay login id, to save in the cookie, so that when you logout, it retrives the login record, and updates the logout.

 

what im looking for is a way to retrive the login id from the database, but the login is an auto increment, so its always unique.  how would i retrive that particular record, without having to assing a unique value for the record from the php script.

 

thanks for your help in advance, PC Nerd

Link to comment
https://forums.phpfreaks.com/topic/45990-login-system-and-timestamp/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.