Session Best Practices
问题 Hi I use Sessions in my application and I was wondering what is the best practice for maintaining session value on a page. I need the value that is stored in the session to be saved until the post back on a particular page. Let me illustrate: Page A: Page B: Sets Session["ID"] = 5 --> Gets Session["ID"] And redirects to Page B and populates data. I need the Session["ID"] on Page B to stay alive until a post back is performed on Page B. I need this because I will be using the value of Session[