I've been reading that to store information thru session. I can
use either the following statement in the code behind:
Session["ID"] = "12345";
OR
HttpContext.Current.Session["ID"] = "12345";
But it didnt work so I have to use both as follow:
Session["ID"] = "12345";
HttpContext.Current.Session["LoginSuccess"] = Session["ID"];
I never got a clear understanding of why I need to use both statements.
Can anyone clarify this for me?
Thanks.
...
Go to the complete details ...