Try our conversational search powered by Generative AI!

Does EpiServer use SessionState by default



Just wondering if EpiServer uses SessionState by default. I'm not seeing anything in the web.config (from a site we inherited) that specifies whether session state is being handled inproc or in sql.

I'm guessing from what I've read that anything EpiServer is doing session wise would be handled in the EpiServer DB and it would be anything session wise that has been added as customer code would be managed as inproc or in sql.

Any thoughts welcome!

Dec 28, 2015 19:47


By default when you install EPiServer Alloy demo, the session is enabled for EPiServer path:

 <location path="EPiServer">
      <httpRuntime maxRequestLength="1000000" requestValidationMode="2.0" />
      <pages enableEventValidation="true" enableViewState="true" enableSessionState="true" enableViewStateMac="true">

I one of our old projects, we turned off session state for performance reason. Everything worked except of EPiServer import/export functionality.

Dec 29, 2015 18:52

So if enableSessionState="true" does that mean the web server is holding session in memory or in the EpiServer database?

Dec 30, 2015 22:22


The mode="InProc" is default session state mode.

Jan 02, 2016 10:12
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.