You can store the value of Request.Cookies ("Admin")("Supp lierID")
in Session to make it global.
e.g. Session("AdminS upplierId") = Request.Cookies ("Admin")("Supp lierID")
Yeah i would have used that, but the project unfortunately (for me) requires a global variable instead of a session, cookie etc..
Just wondering if this is indeed possible.
Yeah i would have used that, but the project unfortunately (for me) requires a global variable instead of a session, cookie etc..
Just wondering if this is indeed possible.
Thanks again
Have you tried creating ab ase class for the master page to inherit from which contains a static variable of your intended "global" variable.
I am not sure if this would work for web apps, but Sessions seem to be the best bet.
Comment