更新时间:2023-12-04 10:22:46
您只想将值存储到Session中。在您的登录代码中,在您确认他们是有效用户后,您可以执行以下操作:
You just want to store the value into the Session. In your login code, after you have verified they are a valid user you can do something like:
Session["EmailAddress"] = emailAdress;
然后您可以通过以下方式轻松使用它:
And then you can use it later on easily by:
lblEmailAddress.Text = Session["EmailAddress"];