gabbage collecting and Session variables
What is the best practice of clearing all unused objects when done using them and clearing all Session variables when user clicks log-out?
I think the following problem has something to do with this:
I'm having a frequent issue for an application I developed for corporate customers. The user sometimes experience logging in problem, on the authentication page, which would fail to issue a database query through which the user get authenticated by a password. However after I restart the IIS (without doing anything else to the code), the log-in starts to function again.
Any advice would be appreciated.
Yubo
|