I'm implementing a floating licenses module in my ASP.Net website (Framework 4).So far, I've chose to assign a license to a user within my LoggedIn method and it works like a charm.Now, I want to deal properly with the user's disconnection.Is it correct to react to both the LoggedOut method and the Session_end ? It seems like dupplicating code to me...What would be the best place(s) to handle a proper disconnection ?Edit :
I plan on storing each user's license within a session variable.
I plan on storing each user's license within a session variable.