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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.