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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
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
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?
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.
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
set the kicktime in defaults_ins.php on line 109.
$kicktime = 10 or higher
Thank you, that has done the trick!!