Since I have done that, my local sites don't work as they used to.
By that I mean, if I have a login page, such as this:
Expand|Select|Wrap|Line Numbers
- pwd=(newstr(request("pwd")))
- dim checkRS, checkSQL
- checkSQL = "SELECT pwd FROM j_pwd WHERE pwd = '" & pwd & "'"
- set checkRS = oConn.Execute(checkSQL)
- if checkRS.EOF then
- response.redirect ("login.asp")
- else
- Session("g6ffwy") = True
- response.redirect ("g66ffwy.asp")
- end if
- checkRS.Close: set checkRS=nothing
- oConn.Close: set oConn=nothing
g66ffwy.asp page, the session variable is lost, and I get bounced back to
the login.asp page, as authentication fails.
I have debugged this via response.writes and find the session is set on the
above page, but lost on the g66ffwy.asp page.
I have not used frames, and have not used virtual directories, and am not
passing the session variables to a different web application.
On the IIS properties dialog, is there a setting there that may be causing
the problem? I have looked for anything obvious, but cannot see anything.
Thanks
Jim