Jump to content

prevent multiple login in php


9911782

Recommended Posts

It might be better to have a timestamp and an IP, and on each request check if it is a different IP accessing the page and the timestamp for the last one is less then 5 minutes or something like that. If people always log out you can have a field that keeps track of if they are logged in, but a lot of people just close the browser without logging out.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...