Author: kostat
Date: 2008-02-12 04:30:34 -0500 (Tue, 12 Feb 2008)
New Revision: 95485

Modified:
   trunk/mcs/class/System.Web/System.Web.SessionState_2.0/SessionStateModule.cs
Log:
TARGET_J2EE: reverted r80308

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    
    2008-02-12 09:24:34 UTC (rev 95484)
+++ 
trunk/mcs/class/System.Web/System.Web.SessionState_2.0/SessionStateModule.cs    
    2008-02-12 09:30:34 UTC (rev 95485)
@@ -273,9 +273,14 @@
                                        handler.ReleaseItemExclusive (context, 
container.SessionID, storeLockId);
                                        handler.RemoveItem (context, 
container.SessionID, storeLockId, storeData);
                                        if (supportsExpiration)
+#if TARGET_J2EE
+                                               ;
+                                       else
+#else
                                                // Make sure the expiration 
handler is not called after we will have raised
                                                // the session end event.
                                                handler.SetItemExpireCallback 
(null);
+#endif
                                        SessionStateUtility.RaiseSessionEnd 
(container, this, args);
                                }
                                
SessionStateUtility.RemoveHttpSessionStateFromContext (context);

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to