Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
0

limit concurrent logged sessions

Guest
Apr 21, 2008 Apr 21, 2008

Copy link to clipboard

Copied


What would be the best approach to limit the # of sessions that can be active at one time. Page access is restricted by session variables. In an extreme example, someone could give out their username and password to 100 people, and they would all be able to login at the same time. I want to limit to one person at a time. Any advice?

Obviously the login script will need to add timestamp or trigger something in a tracking database table... however, without the users logging off, how would I allow a new login once that browser is closed or that session is timed out.
TOPICS
Server side applications

Views

245
Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Apr 21, 2008 Apr 21, 2008

Copy link to clipboard

Copied

LATEST
anyone know how to do this. I suppose it would be similar to scripts that tell you who's currently logged in.

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines