2007-10-17 Marek Habersack <mhabersack@novell.com>
authorMarek Habersack <grendel@twistedcode.net>
Wed, 17 Oct 2007 08:09:38 +0000 (08:09 -0000)
committerMarek Habersack <grendel@twistedcode.net>
Wed, 17 Oct 2007 08:09:38 +0000 (08:09 -0000)
commit603db366d7fdf32b088e654a4ef08994cd7d4510
tree07989f55c43e84c2581692eb7d5b1438e322b1c1
parent929e52af04b05eadf6c92c8cf229d6e673eb2c61
2007-10-17  Marek Habersack  <mhabersack@novell.com>

* SessionInProcHandler.cs: in certain situations the 'item'
parameter passed to SetAndReleaseItemExclusive may be null. The
issue was reported in bug #333898, but the reporter cannot provide
a test case that triggers the issue. Added work around the problem
in the way that should have the least impact on the rest of the
code. If 'item' is null, then the new session item is created
without the items and staticItems collections - they will be
initialized to defaults when retrieving the session item. This is
not a correct fix, but since there is no test case this is the
best what can be done right now.

svn path=/trunk/mcs/; revision=87636
mcs/class/System.Web/System.Web.SessionState_2.0/ChangeLog
mcs/class/System.Web/System.Web.SessionState_2.0/SessionInProcHandler.cs