Jump to content

New to php and my sql, still need alot of help. Please anybody!!!!!!


artweb

Recommended Posts

I have a php login page that checks against a mysql database, to find if user have a password and username stored in the database. If they do they are allowed into the members only part of my website.

 

But what I need is once a user is successfully login, is to be able to know the time they login and the date and how long they spent login. I don't want the user to have to logout, I want that to be automatic, after a certain period of time. Huh

 

I have no cue of how to do this. Do I need another table in my database to store the users info? or do I need to use sessions and cookies somehow?

Any help would be greatly appreciated. Grin

Link to comment
Share on other sites

Guest
This topic is now 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.