How to verify which session mode is in use at your Identify instance


We are running some Identify instances and we want to verify which session storage mechanism is in-use.


The best way to verify your in-use session state mode is to look at web.config files. By default, the Session State section in web.config is encrypted and decrypting it directly will restart your Identify’s application pool. To avoid the that, you can do the following steps:

1. Copy the web.config inside the Runtime folder of the Identify instance to a temp folder which doesn’t have any web.config file, e.g C:\temp

2. Open CMD prompt from Start\Run.

3. Execute command: CD C:\Windows\Microsoft.NET\Framework\v4.0.30319

4. Execute command: aspnet_regiis.exe -pdf “system.web/sessionState” “C:\temp\”

5. Open the now decrypted web.config file in C:\temp and observe the -sessionState  section:

  • If you see:

that means you are using the SQLServer state.

  • If you see:

that means you are using the InProc state.

To ensure the in-use session mode, you need to repeat this verification for the web.config of both Admin and Runtime.

Was this helpful ?Good Somewhat Bad