cleaning up expired sessions with a custom SessionStateStoreProvider

Posted by CountCet on Stack Overflow See other posts from Stack Overflow or by CountCet
Published on 2010-03-20T13:30:36Z Indexed on 2010/03/20 13:41 UTC
Read the original article Hit count: 270

Filed under:
|

I'm implementing my own SessionStateStoreProvider with a schemaless database. It's a little hard to tell from the documentation but it seems as though I will have to have a separate process for cleaning up expired sessions since the database will not have a way to notify the session state store that a session has expired.

Am I wrong about this? I haven't seen an alternative example for overriding the SetItemExpireCallback method.

© Stack Overflow or respective owner

Related posts about session-state

Related posts about ASP.NET