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

How do I limit the time user can be login?

Engaged ,
Aug 12, 2009 Aug 12, 2009

I have a register, login and log out site, now how do I limit how long a user can be loged on, example like an hour. thx in advance

TOPICS
Server side applications
795
Translate
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
Advisor ,
Aug 12, 2009 Aug 12, 2009

This is impossible to do without a scripting language an since you've failed to mentioned what scripting language, if any, you are using a solution can not be provided at this time.

Translate
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
Engaged ,
Aug 13, 2009 Aug 13, 2009

sorry, I am using php, thx

Translate
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
Advisor ,
Aug 13, 2009 Aug 13, 2009

First hit by googling "php time login". Remember, search is your friend!

http://www.webmasterworld.com/forum88/11003.htm

Translate
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
Enthusiast ,
Aug 17, 2009 Aug 17, 2009
LATEST

have login create session, use session to control access, and limit the length the session can live.

Translate
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