Grabeorama Posted May 23, 2009 Share Posted May 23, 2009 I have searched the web for ways of creating a log in system for my website. I found millions of different examples. What would you think is one of thea)easiestb)best solutions?So far what I have made on my own:A table with 'id', 'name', 'login' (true/false), 'password', 'email', 'website'.But how can I on every page check whether the user is logged in or not, and after 24 hours, automatically log them out?Any help is greatly appreciated :)Thanks Link to comment Share on other sites More sharing options...
jlhaslip Posted May 23, 2009 Share Posted May 23, 2009 (edited) DD answered a similar question here: http://w3schools.invisionzone.com/index.ph...c=25148&hl=Use SESSIONS and have the time expire in 24 hours, or on Browser closing. Edited May 23, 2009 by jlhaslip Link to comment Share on other sites More sharing options...
Grabeorama Posted May 23, 2009 Author Share Posted May 23, 2009 Okay, thanks. I just found the tutorial in the sub forum here, it seems pretty good too Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now