Cleaning up Session Variables
Posted on 2004-08-12
I have a question about session variables ...
I know that they are basically the best way of securely communicating between the diffrent pages of the application, but I know that since they sit on the server, they take up memory.
Is there a way of clearing the memory of sesion variables ?
eg: Session["FIRST"] = "Hello World";
Session["Second"] = 3.141527;
Now if I want to clear them what do I do ...
I have tried setting to "" and 0 .... and also to setting both to null ... but I'm not sure if that is enough ...