[Mono-list] Session.Abandon causes NullReferenceException on 2.11

prooftrader mike at prooftrader.com
Tue Mar 1 23:49:09 EST 2011


I am a dummy -- first of all, the previous version wasn't 2.7, it must have
been 2.8.  Secondly, I read Miguel's 2.10.1 announcement after flailing with
the master version (2.11).  So I tried again with 2.10.1 and the problem
persists.  Only this time it is at line 166 of
/mcs/class/System.Web/System.Web.SessionState_2.0/SessionInProcHandler.cs:166.

It appears all you have to do is Session.Abandon() and then try to create a
new session or access an existing session (even if checking it for null) and
this error will occur.  It does not occur on IIS or in previous versions of
mono.

-- 
View this message in context: http://mono.1490590.n4.nabble.com/Session-Abandon-causes-NullReferenceException-on-2-11-tp3329358p3331003.html
Sent from the Mono - General mailing list archive at Nabble.com.


More information about the Mono-list mailing list