[Mono-dev] FW: Sys.Web, r80308

Konstantin Triger kostat at mainsoft.com
Tue Feb 12 05:36:22 EST 2008


I probably have only the old Marek address, so I forward this mail to mono list.

Konstantin Triger

-----Original Message-----
From: Konstantin Triger 
Sent: Tuesday, February 12, 2008 12:18 PM
To: 'Marek Habersack'
Subject: r80308 

Hi Marek,

Please see http://msdn2.microsoft.com/en-us/library/ms178587.aspx, the 'Deleting Expired Session-Store Data' paragraph.

It stays that if provider referenced the Session_OnEnd delegate in SetItemExpireCallback() (and therefore returned true), during RemoveItem() _provider_ should raise it.

This implies that module should not raise Session_OnEnd in case the provider returned true in SetItemExpireCallback() and probably invalidates the reason to call 'handler.SetItemExpireCallback (null)', at least after 'handler.RemoveItem()' and considering the following comment:

 " // Make sure the expiration handler is not called after we will have raised
						// the session end event."

I reverted r80308 for java flow. Please consider fixing the other providers and revert r80308 for mono flow too.

Konstantin Triger

More information about the Mono-devel-list mailing list