I have this line, at this time the value of Session("Login" ) is 1:
Response.Write "<a href=" & Request("script _name") & _
"?action=show&o =" & rsCustOrders("O rderID") & _
">" & rsCustOrders("O rderID") & "</a>"
Once you click on it, it refreshes the page and goes to the following
section, and somehow the value of Session("Login" ) is 0, hence, it ends
up in the ELSE trap:
If Session("Login" ) = 1 Then
If Trim(Request("o ")) <> "" Then
Session("OrderI D") = Request("o")
Response.Buffer = True
Response.Clear
Response.Redire ct Request("script _name") & _
"?action=viewin fo&ordnum=" & Session("OrderI D")
End If
Else
... blah blah
End If
Can someone tell me why Session("Login" ) is rest to 0? Initial value
in global.asa for this is set to 0. I can't figure it out why it would
reset it.
However, if I DO NOT use "<a href", it does not reset this?
Response.Write "<a href=" & Request("script _name") & _
"?action=show&o =" & rsCustOrders("O rderID") & _
">" & rsCustOrders("O rderID") & "</a>"
Once you click on it, it refreshes the page and goes to the following
section, and somehow the value of Session("Login" ) is 0, hence, it ends
up in the ELSE trap:
If Session("Login" ) = 1 Then
If Trim(Request("o ")) <> "" Then
Session("OrderI D") = Request("o")
Response.Buffer = True
Response.Clear
Response.Redire ct Request("script _name") & _
"?action=viewin fo&ordnum=" & Session("OrderI D")
End If
Else
... blah blah
End If
Can someone tell me why Session("Login" ) is rest to 0? Initial value
in global.asa for this is set to 0. I can't figure it out why it would
reset it.
However, if I DO NOT use "<a href", it does not reset this?
Comment