To Configure the Session Timeout
You can configure the session timeout value for your MYOB Acumatica website. To change the timeout value, you change the session timeout and cookie timeout values in the web.config file of the application instance website. Also, you must make sure that the Application Pool Idle Time-out value in the Internet Information Services (IIS) Manager is greater than the session timeout and cookie timeout values for your website. This step is required, because IIS can recycle the application pool before the session has expired.
CAUTION:
Make sure that all users of your website are warned about the site
restart so that they can save all documents.
To Configure the Session Time-Out
- Open the web.config file for the instance. Usually it can be located in %Program Files%\MYOB Acumatica\<instance name>, where <instance name> is the name of the application instance website.
- Change the session timeout to the appropriate value (in minutes), as shown
below.
<sessionState timeout="60">
Attention:By default, the session timeout is set to 60 minutes. We strongly recommend not increasing the parameter value, especially for shared hosting. - Change the cookie timeout to the appropriate value (in minutes), as shown in the
following code
line.
<formsAuth loginUrl="Frames/Login.aspx" timeout="60" />
Tip:By default, the cookie timeout is set to 60 minutes. - Save the web.config file, which automatically restarts the website.
- Select .
- In the Connections pane, double-click the site name and then select Application Pools.
- On the feature page, select the application pool that you use on your website.
- In the Actions pane, click Advanced Settings.
- In the Advanced Settings dialog box, in the Idle Time-out (minutes) box, set the Application Pool Idle Time-out value (in minutes) so that this value is greater than the session and cookie timeout values that you set in Steps 2 and 3.
- Click OK to save the settings.