I have a .Net class library. I want to pass a hidden variable from once code behind page and fetch it in another code behind page. PLease note I dont have any design page(aspx p
you can save the value in the Session as such:
Session["YourName"] = yourvalue;
in code behind you do this:
Session["MyValue"] = "theValueYouWantToPass";
in your other page you do:
string valueFromAnotherPage = Session["MyValue"].ToString();