Session problem
-
Before response.end() i had a session variable Session["ClientID"]=241 after Response.end() the page is refreshed then the session value ecomes null Session["ClientID"]=""; my code page_load() { Session["ClientID"]=241 } Button_Click() { //code here for download a file Response.End(); } Button2_Click() { Response.write((int)Session["ClientID"]); //here i am getting problem session becomes null here. }
-
Before response.end() i had a session variable Session["ClientID"]=241 after Response.end() the page is refreshed then the session value ecomes null Session["ClientID"]=""; my code page_load() { Session["ClientID"]=241 } Button_Click() { //code here for download a file Response.End(); } Button2_Click() { Response.write((int)Session["ClientID"]); //here i am getting problem session becomes null here. }