Asp.Net: Retaining the old browser session after closing and reopening browser instance
问题 Is there a way I can retain the browser session after the user has closed his browser and then reopens. The default behavior in asp.Net is that it keeps the Asp.Net SessionId in the browser cookie which expires when we close the browser. On reopen the browser asp.net generates a new SessionId and even if the old session is not expired on the server side we can not retain it. Can we control the expiration behavior of the session cookie in Asp.Net? 回答1: You cannot reclaim the session-id as such