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 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. 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
Archived
This topic is now archived and is closed to further replies.