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
If you are wanting to keep the variable hidden then you could use a session to store your object.
E.g.,
Setting the session value
Session["HiddenValue"] = "something";
Getting the session value
string something = (string)Session["HiddenValue"];
Do keep in mind however, that sessions are only for a limited time (this can be configured thorugh IIS and your web configuration).
Here is a good resource to learn about sessions and session state.