Jump to content

[SOLVED] session logins


squiblo

Recommended Posts

i came up with a little something that works well and is very simple, i created a field in my db called "loggedin" when the user logs in the field value for that user changes to 'yes' and when the user logs out the the value is changed to 'no'. and in the login script it checks for the value of the field and if it is 'yes' then "die('this user is already logged in')" but if not then it continues with the rest of the script :D

Archived

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