troubleshooting Question

simple user login / session functionality

Avatar of jm_jackson
jm_jackson asked on
5 Comments1 Solution218 ViewsLast Modified:

Just want some pointers on how to implement a user login and simple session functionality. I know you can use cookies... not really too keen on getting into that for now but may do if required. For a user to stay "logged in" after they have logged in using an html form on a php page with associated login script can you just post the users login details to each page so that the pages recognize the users as "logged in"?

Sorry if I rambled a bit there! Regarding session time-outs could I just have a sessions MySQL table which contains current users logged in with last time of action? (Pages would check to see if last action was carried out within 5 minutes for example to add a level of security for user)

Any pointers / advice / experience on what would be best would be much appreciated. Bear in mind I am not developing a highly complex commercial application :-)

Thank ya!

Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 5 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 5 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros