Does EpiServer use SessionState by default

Vote:
 

Hi,

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 asp.net session wise that has been added as customer asp.net code would be managed as inproc or in sql.

Any thoughts welcome!

#142802
Dec 28, 2015 19:47
Vote:
 

Hi,

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

 <location path="EPiServer">
    <system.web>
      <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.

#142807
Dec 29, 2015 18:52
Vote:
 

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

#142822
Dec 30, 2015 22:22
Vote:
 

Hi,

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

https://msdn.microsoft.com/en-us/library/ms178586.aspx

#142832
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.