Menu

Problem with timeout

Hilfe/Help
2002-01-31
2013-04-30
  • Hernan Chiesa

    Hernan Chiesa - 2002-01-31

    Hello to everybody.
    I need some help with the timeout of the chat.
    My problem is that after a certain period of time that the user is inactive (only looking but not writting) the system asks him to log on again. But worst of all, this doesn't happen always (sometimes I stay a long time inactive and I am not ask to re-enter). I tried modifing the variable $DYNAMIC_SLEEP in the defaults_inc.php file but it didn't work.
    I hope someone can help me.
    Thank you very much.

     
    • Mirko Giese

      Mirko Giese - 2002-01-31

      this is not a problem of dynamic sleep, it is more that the index.php-script looks, if there are chatter that have longer than 10 minutes not hit the submit-button in the input-frame. if it finds some, they are blown away from the chat room. but if nobody watches this index-script, nobody will blown away.
      regards
      mirko

       
      • Bob Full

        Bob Full - 2002-03-14

        I believe that the problem is that it DOES kick everyone - even the moderator - off with 10 minutes of inactivity. The question is - can we increase this to 20 minutes or even longer?

         
      • tim desmond

        tim desmond - 2008-04-30

        Go to your config.inc.php file and to line 354.

        it should read:

        define('MAX_INACTIVE_ONLINETIME', 600);//Time in seconds

        define('MAX_INACTIVE_LIFETIME', 60);//Time in days

        increase those times and you should be fine.

         
    • Hernan Chiesa

      Hernan Chiesa - 2002-02-01

      Thank you, Mirko.
      I have 2 questions regards this.
      1) As I understand if nobody hits the submit button in the input-frame for 10 minutes he will be blown away. So I would need to know how to change this parameter (what variable or function I must change).
      2) Also, please explain me what you mean when you say "but if nobody watches this index-script, nobody will blown away".

      Again, thank you very much.

      Hernan

       
    • hartmut götze

      hartmut götze - 2002-03-14

      set the kicktime in defaults_ins.php on line 109.
      $kicktime = 10 or higher

       
      • Bob Full

        Bob Full - 2002-03-14

        Thank you, that has done the trick!!

         

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.