I understand that you can mix traditional asp with aspx pages. I am trying to do that with a login page (now in aspx)that sets session variables whicj will allow users to enter restricted pages. Those pages are currently *.asp pages.
For some reason the *.asp pages do not seem to get the seesion variables that I created in the login.aspx page.
I made sure that the seesion variable actually had a value by displaying them in the login.aspx page.
Below are some snippets of related code.
####### First line of code on restricted asp page #####
########### Code from login.aspx page #########
If I do a;
on the login.aspx page, it displays the value, so I know its assigning a value to the session variable.
Any clues?
For some reason the *.asp pages do not seem to get the seesion variables that I created in the login.aspx page.
I made sure that the seesion variable actually had a value by displaying them in the login.aspx page.
Below are some snippets of related code.
####### First line of code on restricted asp page #####
Code:
<%If Session("AllowCreep")="" Then
Response.redirect "/EStation/pages/login.asp"
End If%>
########### Code from login.aspx page #########
Code:
session("AllowCreep")=userDS.tables(0).rows(0)("AllowCreep")
If I do a;
Code:
user.text = Session("AllowCreep")
Any clues?