Try our conversational search powered by Generative AI!

Self-Optimizing Block 1.0.0 shouldn't require SessionState

Vote:
 

For better performance we always disable SessionState (see why: http://world.episerver.com/Blogs/Johan-Kronberg/Dates/2012/5/Speed-up-Edit-Mode-Set-EnableSessionState-to-false/).

When having session state turned off in a template this error is thrown from the add-on:

[NullReferenceException: Object reference not set to an instance of an object.]
EPiServer.Cms.AddOns.Blocks.Web.Sessions.OptimizingBlockSession.GetSession(String sessionName) +67 EPiServer.Cms.AddOns.Blocks.InitializableModule.sender_Load(Object sender, EventArgs e) +121

It would be nice if Self-Optimizing Block didn't use Session.



#70438
Apr 19, 2013 13:49
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* 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.