0

For a CMS Only Sitecore CD server (No xDB Tracking), is there any requirement to enable session state?

What standard Sitecore services would fail if there was no session state?

2 Answers 2

0

Sitecore support can provide the definite answer to see what would all break for example the in session personalization as mentioned by Kate. However here are some pointers which might be useful from my own experience:

  • I would be surprised if something core to the CD would break as Sitecore mentions setting SessionState to ReadOnly here. (With ReadOnly session state nothing will be updated in Session outside the scope of the Request)
  • At scale the session state data store itself or the locking mechanism can easily become a significant bottleneck for the site, and disabling session can be an excellent way to prevent this.
  • Support for aspnet:AllowConcurrentRequestsPerSession is on Sitecore's roadmap which can alleviate the locking issue if that is your concern
1

Even with XM topology you can still use the in-session personalisation to deliver the personalised user experience based on the visitors' behaviour and information that Sitecore gathers during the session. You can achieve this in CMS-only mode without xDB and with just the XM license.

Plus you might need to store some custom attributes / flags in session if say you want to implement a basket on your Sitecore-based website.

Configuring the session state is particularly important if you have a cluster of two CD instances or more regardless of the load balancing type - CD cluster with sticky load balancing or CD cluster with non-sticky load balancing. Session state enables Sitecore to share data for a contact across multiple active sessions within a cluster. In this case the recommendation is to go with the "Out of process" mode for the session state configuration.

More details about configuring session state you can find here.

1
  • 1
    I was really wanting to know if it can just be disabled for simple websites as it would reduce infrastructure and improve performance. That is interesting about using it for visitor behavior while in CMS only mode. Jun 30 at 14:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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