A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More.
AI OnAI Off
A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More.
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.