Hi,
I'm inserting something in the cache when the user does a login.
Now I want to delete that from the cache when the user's session expires. HttpContext is null .. so I don't know for which user the session expired. How can I go about finding this ?
EDIT: unfortunately SessionID doesn't offer me much. What i'm doing in this particular case is using an HttpModule that handles AuthorizeRequest to insert the current userName in Cache to ensure that another user from another machine can't login. But the Session is null in the HttpModule. So I can't use that. Any other suggestions ?