Arkned wrote:
> 
> Is there any way to increase the session
> time.
> 
> I have a user that likes to type a long e-mail
> and then check spelling.  The problem is
> when he clicks check spelling it comes up with
> an EXPIRED page.
> 
> How long is the default timeout.
> 

the default is like 20 min or so, but if you use Apache , you can use
mod_rewrite to extend the default timeout when the user is comming from
"newmsg" form like this:

 RewriteEngine On
 RewriteCond    %{HTTP_REFERER} .*newmsg
 RewriteRule .* - [E=SQWEBMAIL_TIMEOUTSOFT:300000]

here 300000 secs allow a user to edit it up to 1 month ;) , but this
wont help you if your cleancache.pl has TIMEOUTHARD set to low value...

also, it wont work when you are editing draft message because the
Referer is different , but it's a matter of adding a new condition, you
could do it yourself now.

Regards
niko

Reply via email to