Author: kostat
Date: 2007-02-19 02:59:31 -0500 (Mon, 19 Feb 2007)
New Revision: 73096
Modified:
trunk/mcs/class/System.Web/System.Web.SessionState_2.0/ChangeLog
trunk/mcs/class/System.Web/System.Web.SessionState_2.0/SessionStateModule.cs
Log:
call Session_End callback only if the handler does not support expiration
Modified: trunk/mcs/class/System.Web/System.Web.SessionState_2.0/ChangeLog
===================================================================
--- trunk/mcs/class/System.Web/System.Web.SessionState_2.0/ChangeLog
2007-02-19 07:54:08 UTC (rev 73095)
+++ trunk/mcs/class/System.Web/System.Web.SessionState_2.0/ChangeLog
2007-02-19 07:59:31 UTC (rev 73096)
@@ -1,3 +1,8 @@
+2007-02-19 Konstantin Triger <[EMAIL PROTECTED]>
+
+ * SessionStateModule.cs: call Session_End callback only if the handler
+ does not support expiration.
+
2007-01-20 Miguel de Icaza <[EMAIL PROTECTED]>
* SessionStateModule.cs: Removed unused variables.
Modified:
trunk/mcs/class/System.Web/System.Web.SessionState_2.0/SessionStateModule.cs
===================================================================
---
trunk/mcs/class/System.Web/System.Web.SessionState_2.0/SessionStateModule.cs
2007-02-19 07:54:08 UTC (rev 73095)
+++
trunk/mcs/class/System.Web/System.Web.SessionState_2.0/SessionStateModule.cs
2007-02-19 07:59:31 UTC (rev 73096)
@@ -279,7 +279,7 @@
else {
handler.ReleaseItemExclusive (context,
container.SessionID, storeLockId);
handler.RemoveItem (context,
container.SessionID, storeLockId, storeData);
- if (supportsExpiration)
+ if (!supportsExpiration)
SessionStateUtility.RaiseSessionEnd (container, this, args);
}
SessionStateUtility.RemoveHttpSessionStateFromContext (context);
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches