Web Mail Time-out Settings

Web Mail Time-out Settings

Postby cearnshaw » Fri Jun 08, 2012 7:22 am

What's the difference between the Idle Time-out and Idle Session Time-out (both on the web mail configuration page)?

Cameron
cearnshaw
 
Posts: 41
Joined: Tue Jun 17, 2008 9:19 pm

Re: Web Mail Time-out Settings

Postby Code Crafters » Tue Jun 12, 2012 9:51 pm

The Idle Time-out (secs) on the first tab is a connection idle timeout, meaning that whilever the web page is connected to the mail server, if it remains idle (no commands sent) for more than 300 seconds (5 minutes with the default settings) then the connection will be closed. However, with WebMail requests it is rare that connections ever last anywhere near that long because web pages connect, get the data for that page then disconnect.

Now, the session idle timeout is related to the WebMail login. This is set to 120 minutes (2 hours) by default which is much longer than the 5 minutes for the connection idle time-out. When a user logs in this begins a login session and a session ticket ID is created so that new connections don't have to re-login for every page request. So this timeout controls when the user is logged out if they don't send any new commands.

With other protocols like SMTP one connection is kept alive compared throughout the session. However, with WebMail which makes many connections for small amounts of time but remains logged in with a session ticket even after disconnecting. SMTP, IMAP4, POP3 etc. would be logged out if they disconnected.

Hopefully this clarifies the difference.
Code Crafters
 
Posts: 933
Joined: Mon Sep 10, 2007 2:35 pm


Return to General

Who is online

Users browsing this forum: No registered users and 8 guests

cron