Jump to content

rat in a cage

New Members
  • Posts

    2
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

rat in a cage's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. just as PaulRyan sad i use this to prevent multiple people log in to same account. i do use session too for username and other stuff. yes, i'm aware of this but as you said javascript is not a solution in my situation. how to check for users last action? hm, I also don't see solution to my problem i still have to put logged_in flag to zero when browser is exited but i don't wanna do it with javascript. anyway thanks for answers people
  2. Hi, im new here Need some help. I have a database which contains users, and for every user i have logged_in value which is 1 if user is logged in and 0 if not. I use this so that user can be logged in only once. When user clicks on logout link i set logged_in on 0. My problem is when browser closes logged_in for current user is not set to 0, and after that user can't login because my site thinks he is already logged in. is there some way I can call some function when browser exits or any other solution? please help
×
×
  • 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.