cleaning up expired sessions with a custom SessionStateStoreProvider
- by CountCet
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.