I am trying to increase the expiration time for my session preview tokens, I wonder if it is configurable.

By default it gives you about 3 minutes, but I think it is too short, I would like to increase it to 20 minutes.

Any idea would be helpful.

1 Answer 1


You need to update the timeout node value in the cd_storage_conf.xml file of your content delivery web-service. This appears to be a keep alive, and not a fixed timeout value.

Timeout value is in milliseconds, and is set to 1 minute below, default is 120000 or 2 minutes if my memory serves me correctly.

        <Wrapper Name="SessionWrapper">
                 <Storage Type="persistence" Id="db-session-webservice" dialect="MSSQL"
                 <Pool Type="jdbc" Size="5" MonitorInterval="60" 
                 IdleTimeout="120" CheckoutTimeout="120" />
                     <DataSource Class="com.microsoft.sqlserver.jdbc.SQLServerDataSource">
                         <Property Name="serverName" Value="DB_NAME" />
                         <Property Name="portNumber" Value="1433" />
                         <Property Name="databaseName" Value="Tridion_Broker_Session_Preview" />
                         <Property Name="user" Value="TridionSessionPreviewUser" />
                         <Property Name="password" Value="Tr1d10n" />
  • Please note that the <Timeout></Timeout> element needs to be implemented on the website's cd_storage_conf.xml, not the webservice application (if the webservice and website application are separate applications)
    – user871
    Commented Jan 10, 2014 at 23:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.