We have developed a web application in which we are using login user(as a array structure) in session variable using HttpContext for some purpose.
The session is availabe in the same project throughout. But, when a class in the dll of the project tries to look up the session object, ArgumentOutOfRa ngeException is raised.
The problem is that this happens only once in a while after publishing the website. When the IIS is restarted, everything runs smoothly again. How do I reduce the chance of error?
Please revert back with some idea because we have to solve this issue asp.
The session is availabe in the same project throughout. But, when a class in the dll of the project tries to look up the session object, ArgumentOutOfRa ngeException is raised.
The problem is that this happens only once in a while after publishing the website. When the IIS is restarted, everything runs smoothly again. How do I reduce the chance of error?
Please revert back with some idea because we have to solve this issue asp.
Comment