Apr 12, 2011 at 10:47 AM
Edited Apr 12, 2011 at 11:06 AM
Has anyone implemented a session expiration using ASPProviders? I read somewhere in documentation that Session_End event in global.asax does not trigger if we are using ASPProviders?
I am facing following problem. If the user closes the browser directly, without logging off, the Table Storage and Blob Storage keeps maintains the session forever.
//The TableStorageSessionStateProvider.cs contains
public override bool SetItemExpireCallback(SessionStateItemExpireCallback expireCallback)
// This provider doesn't support expiration callbacks
// so simply return false here
How do I clean all the expired sessions from Table and Blob?