I have created a test Web Application Project.
Default.aspx just has a button.
Page_Load has following code:
Expand|Select|Wrap|Line Numbers
- protected void Page_Load(object sender, EventArgs e)
- {
- if (!IsPostBack)
- {
- Response.Write("Session Id:" + Session.SessionID);
- }
- }
- protected void Button1_Click(object sender, EventArgs e)
- {
- Response.Write("Session Lost! Session Id:" + Session.SessionID );
- }
Any help would be appreciated!
Thanks,
NilMS