StoreFront - Increasing The Web Session Timeout

nick's picture

Increasing The Web Session Timeout

This article provides the steps to increase the Session Timeout on a Citrix StoreFront web site.  To increase the Session Timeout on a Citrix StoreFront web site perform the following steps :-

1. Edit The web.config file for your AppStore

  • Logon to the StoreFront server as an Administrative account
  • Open Windows Explorer and navigate to C:\Inetpub\wwwroot\Citrix\{Your App Store}Web
E.G. C:\Inetpub\wwwroot\Citrix\My-App-StoreWeb
  • Edit the web.config file in Notepad
  • Search for the line below :-
<sessionState timeout="20"/>
  • Modify the value to the amount of time you want the session timeout to be in Minutes
E.G. <sessionState timeout="120"/>
  • Save and Exit the web.config file

2. Edit The web.config file for Authentication

  • Next navigate to the folder C:\Inetpub\wwwroot\Citrix\Authentication
  • Edit the web.config file in Notepad
  • Search the web.config file for maxLifetime
  • The first line found should be as shown below :-
defaultLifetime="01:00:00" maxLifetime="01:00:00">
  • Change the maxLifetime value to the amount of time set for the sessionState timeout previously
E.G. defaultLifetime="01:00:00" maxLifetime="02:00:00">
  • Search the web.config file for the next instance of maxLifetime
  • The next line found should be as shown below :-
defaultLifetime="01:00:00" maxLifetime="20:00:00" />
  • If you require the Session Time out to be greater than twenty hours then change the maxLifetime value accordingly, otherwise leave as configured.
  • Search the web.config file for the next instance of maxLifetime
  • The next line found should be as shown below :-
<relyingParties signingId="_" defaultLifetime="01:00:00" maxLifetime="01:00:00" />
  • Change the maxLifetime value to the amount of time set for the sessionState timeout previously
E.G. <relyingParties signingId="_" defaultLifetime="01:00:00" maxLifetime="02:00:00" />
  • Save and Exit the web.config file
3. Restart IIS For The Changes To Take Effect
  • Open a Command Prompt and execute IISRESET
4. Ensure Changes Are Made To All StoreFront Servers In The Servers Group
  • Repeat the steps on all StoreFront servers in the Servers Group