Author Topic: [1.7 / 1.7.1] Session ID / Who's online list / Sessionsinformation in DB  (Read 38152 times)

0 Members and 1 Guest are viewing this topic.

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [1.7 / 1.7.1] Session ID / Who's online list / Sessionsinformation in DB
« Reply #15 on: February 18, 2006, 08:30:48 PM »
session timeout has nothing to do with whos online stuff. Once session is timed out it will be deleted from the database.
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline trez

  • Hero Member
  • *****
  • Posts: 613
    • View Profile
    • blog / photography
Re: [1.7 / 1.7.1] Session ID / Who's online list / Sessionsinformation in DB
« Reply #16 on: February 18, 2006, 08:33:24 PM »
session timeout has nothing to do with whos online stuff. Once session is timed out it will be deleted from the database.

who is talking about the session timeout? Its abot the whos_online inactivity timeout, and i believe its a good idea to put that in the ACP

Offline IcEcReaM

  • Hero Member
  • *****
  • Posts: 714
    • View Profile
    • My little Testboard
Re: [1.7 / 1.7.1] Session ID / Who's online list / Sessionsinformation in DB
« Reply #17 on: February 18, 2006, 08:53:57 PM »
If you want, that for user online list the same value for session timeout is used:
Replace this line in sessions.php
Code: [Select]
$time_out = time() - 300;to
Code: [Select]
$time_out = time() - ($config['session_timeout'] * 60);
But as vano already said.
User online list timeout has not really something to do with session time out.

Coding is a everlasting competition between programmers who tries to write larger, better and idiot-safe programs and the universe producing larger and stupider idiots...
...so far the universe won
bump