I have an asp.net mvc application in which I am using a session attribute:
Session["id"] = id;
My problem is the timeout of the attribute, I'd like to be unlimited until it changes to another value. Now when the timer expires (30 sec) Session["id"] takes null as value.
What is the best way to do it?