Leaky Memory

One of the things that i am not very with is my reliance on the session state. Typically this is useful when data needs to be persisted between post backs. The down side and most over looked part of this is that depending on how the server is setup a lot of undue load can be put on the server.

I faced the full wrath of this last week Friday. The previous day , the IT team moved our web server to a new server due to the fact that we had out grown the current server. Everything had been tested on face value before the move i.e. All pages opened correctly and nothing seemed to crash spectacularly. Then on Friday , one of the pages that uses the session state started crashing with object not set to a instance exception.
[...]