<system.web> <sessionState mode="InProc" timeout="20" cookieless="true"> </sessionState> </system.web>
protected void button1_Click(object sender, EventArgs e) { Session["mySession"] = "myValue"; } protected void button2_Click(object sender, EventArgs e) { // Below code is terminate worker process in IIS 8 but it is working fine in IIS 7 Verify.MVerify objMVerify = new Verify.MVerify(); Boolean Ret1; byte[] temp =File.ReadAllBytes(Server.MapPath("") + @"\rawData.raw"); Ret1 = objMVerify.VerifyFingerFromISOTemp(temp, temp); /////////////////////////////////////////////////////////////////////// if(Session["mySession"] != null) { tdMessage.InnerHtml = "Session is not null"; } else { tdMessage.InnerHtml = "Session is null"; } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)