相关代码 |
|
void Page_Load(object sender, EventArgs e) { SessionService objSessionService; objSessionService = new SessionService(); lblSessionCounter.Text = objSessionService.GetSessionCounter().ToString(); lblSessionID.Text = objSessionService.GetSessionID().ToString(); } SessionCounterBad.aspx This page does not work! Your session ID is ID="lblSessionID" Runat="Server" /> This page has been requested by you ID="lblSessionCounter" Runat="Server" /> times!
相关资源 |
|