I would like to do a permanent or temporary login for a website via name and password and I think I have to use cookies to do this. I have started reading about cookies but I was wondering if there was another easier way or if anyone know good spots to read about how to implement this sort of thing.
Thanks,
Cookies? Or other alternatives for Permanent or Temp Logins?
Moderator: General Moderators
use sessions, look them up at http://www.php.net and some tuts..some good ones are at http://www.hotscripts.com
good luck.
good luck.
-
JPlush76
- Forum Regular
- Posts: 819
- Joined: Thu Aug 01, 2002 5:42 pm
- Location: Los Angeles, CA
- Contact:
for autologin features you have to use cookies. then read the cookie on the login page to see if the data exists.
cookies are VERY easy to use and it shouldn't take long to get ahold of the concept.
one key thing to remember is you can set a cookie and read it from the same page
IE:
set cookie
read cookie
the cookie will be available on the next page load.
cookies are VERY easy to use and it shouldn't take long to get ahold of the concept.
one key thing to remember is you can set a cookie and read it from the same page
IE:
set cookie
read cookie
the cookie will be available on the next page load.