G
Guest
Hello,
I am using authentication type = FORMS
I need to use Session Variables for passing data between ASPX pages, but I have the following problem:
If I call some page without doing athentification before, I will be redirected to Login.aspx, there in Login.aspx I assign (in Login.aspx.VB) this: Session("VARIABLE") = "SOMESTRING", after I will pass from this page to another page named BBB.aspx.
In BBB.aspx I need to use (in BBB.aspx.VB) Session("VARIABLE") (remember Session("VARIABLE") = "SOMESTRING"), the following manner:
Dim strVal as string = Session("VARIABLE"), but Session("VARIABLE") retrieves NOTHING, the assigned value in Login.aspx.VB was lost.
What is happening?, What can I do for retrieve that value from Login.aspx to BBB.aspx?
Thanks in advance,
l-touched.
I am using authentication type = FORMS
I need to use Session Variables for passing data between ASPX pages, but I have the following problem:
If I call some page without doing athentification before, I will be redirected to Login.aspx, there in Login.aspx I assign (in Login.aspx.VB) this: Session("VARIABLE") = "SOMESTRING", after I will pass from this page to another page named BBB.aspx.
In BBB.aspx I need to use (in BBB.aspx.VB) Session("VARIABLE") (remember Session("VARIABLE") = "SOMESTRING"), the following manner:
Dim strVal as string = Session("VARIABLE"), but Session("VARIABLE") retrieves NOTHING, the assigned value in Login.aspx.VB was lost.
What is happening?, What can I do for retrieve that value from Login.aspx to BBB.aspx?
Thanks in advance,
l-touched.