Simple Auto Logout

Started on the old forum in November 2007 · view the original in the archive · old links redirect here

2 replies · 664 views · started 19 years ago · 1 min read

FlareX #1

I Need A Simple Auto Logout Code So That If Someone Is Not Active For 2mins They Removed From Online List

Here Is My Online List And Index

Attachments: Online.php index.php
FlareX #2

anyone?

blackhowk Senior · 411 posts #3
  • find time on your sql (time online, time, dnno - where user is registered as online)
  • DELETE FROM USER_SESSION WHERE USER_TIME < $REAL_TIME - 120

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close