This article only applies to Squared Up Version 2.0. If you're looking for help with Squared Up Version 3.0, please visit our new knowledge base
Squared Up uses a default session time-out of 20 minutes. See Configure the session time-out. If users seem to be unexpectedly logged off before the default 20 minutes this may need further diagnostics as described here.
Recycling the Squared Up Application Pool logs off all users. The most common cause of the application pool recycling is antivirus software 'touching' files. See "Your session has expired" | How to add AV exclusions
If you have set up AV exclusions and users are still being logged off unexpectedly follow this article to find out more about why this is happening.
Diagnosing Application Pool Recycling Issues
- Open C:\inetpub\wwwroot\SquaredUpv2\web.config in a text editor:
- Immediately after the <system.web> line add the following text:
<add name="App Lifetime" eventName="Application Lifetime Events" provider="EventLogProvider" profile="Default" minInstances="1" minInterval="00:00:00" maxLimit="Infinite"/>
- Wait for the next unexpected logoff / app pool recycle.
- In the Event Viewer > Windows logs > Application, look for an event where source = ASP.NET and event id = 1305. The description of the event should show the reason.
If you see the following:
Event message: Application is shutting down. Reason: A subdirectory in the Bin application directory was changed or renamed.
This message is seen when Anti-virus software is 'touching' file which prompts the Squared Up app pool to recycle. Please see "Your session has expired" | How to add AV exclusions