HTTPContext.Current.Session is NULL in SharePoint 2007 (MOSS)
For some strange reason HTTPContext.Current.Session is null in SharePoint 2007 web application. Session is enabled everywhere and used to work so its not a setup issue. Something got corrupted at some point either via patches or something... Doing "Reset To Definition" fixes the issue, but I can't do that in production environment and what is reset to definition has to do with session being null? Searching on the web found a post from someone having same exact issue: http://spbartnet.wordpress.com/2010/05/26/session-state-behaving-strange/ I need to know how to FIX this w/o doing complete "Reset To Definition".
September 23rd, 2010 11:53pm

what about this post: http://www.sharepointdev.net/sharepoint--development-programming/why-httpcontextcurrentsession-is-null-54589.shtml & http://stackoverflow.com/questions/2237989/enabling-session-state-in-sharepoint-2010 thanks wsi am at SharePoint administrator
Free Windows Admin Tool Kit Click here and download it now
September 24th, 2010 12:30am

First one doesn't apply since its for web services and second is IIS 7. In either case Session has been working previously and doing “Reset to Site Definition” in development solves Session is null problem, but I’m looking for production fix since I can’t run “Reset to Site Definition” in prod on entire site collection.
September 24th, 2010 12:50am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics