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
https://forums.phpfreaks.com/topic/119947-last-logged-in-script/
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.

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.