• Forum
  • Doc
  • Screenshots
  • Download
  • Donate
  • Contributors
  • Contact
  • Follow @phpfreechat
  • DEMO
  • Board index ‹ Version 1.x branch ‹ General Support (v1.x)
  • Change font size
  • FAQ
  • Register
  • Login

Timeout Parameter

Moderators: OldWolf, re*s.t.a.r.s.*2

Post a reply
3 posts • Page 1 of 1

Postby NetAndif » Thu May 25, 2006 12:41 pm

I have a little issue with the timeout parameter.
I've set it to '900000'.
But It seems that the timeout never happens then.
How is the syntax for this? Should one append the 'ms' to make it working?

I want to set a timeout of 15 min when a connected user doesn't do anything, or he/she closes the chat without disconnecting.

Another question: Will the cookie ever get cleared when a users has disconnected? Does it get cleared when the user re-connect after the timeout?


from your docs:

timeout
This is the time of inactivity to wait before to considere to
disconnecte user (in milliseconds).
( 20000ms = 20s by default)
NetAndif
Member
 
Posts: 21
Joined: Wed May 24, 2006 8:21 pm
Top

Postby phpfreechat » Thu May 25, 2006 12:59 pm

I modified the doc to be clearer : http://www.phpfreechat.net/install.en.h ... am-timeout

This is the time of inactivity to wait before to considere to disconnecte user (in milliseconds). A user is inactive only if he closed his chat windows. A user with a open chat window is not inactive because he sends each refresh_delay a HTTP request.
( 20000 by default, 20000ms = 20s)

To assign the timeout parameter use this code :
Code: Select all
$params["timeout"] = 900000;
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Postby NetAndif » Thu May 25, 2006 1:07 pm

Thanks for the quick reply.
The timeout function was just a little confusing to me, but now it's clear.
Also, i did not know if to include numeric values into quotes or not.

Very good support.
NetAndif
Member
 
Posts: 21
Joined: Wed May 24, 2006 8:21 pm
Top


Post a reply
3 posts • Page 1 of 1

Return to General Support (v1.x)

Who is online

Users browsing this forum: No registered users and 2 guests

  • Board index
  • The team • Delete all board cookies • All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
Sign in
Wrong credentials
Sign up I forgot my password
.
jeu-gratuit.net | more partners
Fork me on GitHub