Jump to content

Last logged in script?


Scooby08

Recommended Posts

I have been searching for a last logged in script and have only found scripts that used cookies to do this..  Is there possibly a way to do this without cookies?? Also would you need to set cookies for a remember me feature as well, or is there a way of doing that without cookies? Basically I'm trying to stay away from cookies.. But if cookies are the only way to go then alrighty then.. Actually what do you guys think about the remember me feature on a login form?? Is it worth having??

 

Thanks..

Link to comment
Share on other sites

last login could be a field in a database that's what i use and every time the users logs in i set the value to the current unix timestamp also remember features are absolutely necessary i think. you would have to set a cookie for that and remember if a user comes to your site and has no session but has a remember cookie then you need to log the in and change the last login timestamp.

 

Scott.

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.