Call to the page is made as HttpContext.Current.Handler.ProcessRequest(HttpContext.Current); So it is not a full page get reguest.
Looks like the Bug#54423 Compare page versions crashes when page uses session object
Hi I am having the same issue. Do you know if there is any update to this? or perhaps you can point me towards where I could find out?
Thank you
This is odd, I can't seem to find the bug in the bug list. It is discussed in this thread too: http://world.episerver.com/Templates/Forum/Pages/Thread.aspx?id=43961&epslanguage=en
I think I got the bug ID from the response to my original bug report.
Perhaps someone at EPiServer can check what happened to the bug?
Hi!
I checked the bug and it was closed as a duplicate of bug #41873 which should be fixed in the CMS 6 R2 beta release.
Regards
Linus Ekström
EPiServer Development Team
Hi, everyone.
I'm experiencing problem while trying to compare publish page versions in EPiServer CMS 6.
Exception Details: System.Web.HttpException: Session state can only be used when enableSessionState is set to true, either in a configuration file or in the Page directive. Please also make sure that System.Web.SessionStateModule or a custom session state module is included in the <configuration>\<system.web>\<httpModules> section in the application configuration.
Exception is thrown on line that tries to access Session.
I've installed an empty cms 6 website using EPiServer Deployment manager and the same situation. Call like following <%=this.Session["someSessionKey"]%> - throws exception as above.
It proves that exception occures not because my project configuration.
After some "reflectoring" episerver code found following:
EPiServer.UI.Edit.PageCompare.Core.PageComparerProviderBase, EPiServer.UI, Version=6.0.530.0
method: private static string GetHtmlByDummyRequest(string pageUrl)