PDA

View Full Version : Increase squirrelmail timeout


prophecy
12-04-2003, 04:22 PM
How can I do this, supposedly times out after like 5 minutes?

ProWebUK
12-04-2003, 05:37 PM
Suirrelmail uses PHP so to do so you would probably haver to modify your php timeout setting.

Chris

prophecy
12-04-2003, 09:16 PM
Gotcha, you know where to do that offhand before I start digging?

ProWebUK
12-04-2003, 10:10 PM
php.ini as a general php setting.... its usually set a fait bit lower than 5 minutes though :-/ unless DA default is 5 mins?

Chris

prophecy
12-05-2003, 11:07 AM
This is for the DA people, do i have to change the php.ini's under the directadmin/customapache too?

ProWebUK
12-05-2003, 11:08 AM
Originally posted by prophecy
This is for the DA people, do i have to change the php.ini's under the directadmin/customapache too?


This wont make any difference unless you are recompiling php / apache with php

Chris

prophecy
12-05-2003, 11:43 AM
Looks like it's probably this in php.ini

session.gc_maxlifetime = 1440

So default is 1440 (24 minutes) which ain't too short.

DirectAdmin Support
12-05-2003, 11:44 AM
Hello,

The php.ini is only written if the previous file doesn't exist. If there is already one there, it's not changed.

John

ProWebUK
12-05-2003, 11:48 AM
Originally posted by prophecy
Looks like it's probably this in php.ini

session.gc_maxlifetime = 1440

So default is 1440 (24 minutes) which ain't too short.

default_socket_timeout is more than likely the one you need ;)

Chris

prophecy
12-05-2003, 11:56 AM
socket timeout has nothing to do with what I need, I want session timeout.

ProWebUK
12-06-2003, 09:55 AM
If the problem was whilst you were downloading an attachment or such, then it would be socket you need to modify. The reason why phpMyAdmin often failes at restoring large databases is due to the socket connecton timing out with MyAdmin being unable to restore in 60 seconds)

Chris

prophecy
12-06-2003, 12:40 PM
Yes, but we're talking about sessions here, not sockets.

DirectAdmin Support
12-06-2003, 01:10 PM
Just to confirm the problem, you're logged into SquirrelMail, you're typing away, and when you click send you get the login screen?

John

prophecy
12-07-2003, 12:51 PM
I am not exactly sure, but it sounds like something like that. It's a customer that reported it saying that it was only like 5 minutes though. So not sure if squirrel has a different parameter for setting session timeouts rather than the php.ini timeout. Here's exactly what he said.

webmail is better, but it times out after 3-5 minutes... kinda sucks if you are in the middle of typing a long message - can you increase the timeout trigger?

ProWebUK
12-07-2003, 02:08 PM
Originally posted by prophecy
Here's exactly what he said.

Looking at that it appears the session timeouts are the problem, I had a feeling the problem was occuring during the downloads or large emails /attachments in which case it would of been the socket.

you may want to have the customer confirm this if the problem has not het been solved :)

Chris

duke28
03-04-2006, 07:04 PM
WEBMAIL PROBLEM WITH SESSION TIMEOUT :
==================================

i changed it in my php.ini :

session.gc_maxlifetime = 1440
to session.gc_maxlifetime = 2440

and i put $idle_timeout = 40; //minutes
in the config.php of webmail uebimiau

and always after 10 minutes.. webmail is logoff ..

normal ?

i want stay in the webmail 40 minuts,.. not 5-10 minuts