I am wondering how session does work? If I have:
Session["Mysession"]="1";
How the server side does know that the client browser was closed and so the session will be invalid?
How such session is created in the server side? What is the mechanism?