Code Comments
Programming Forum and web based access to our favorite programming groups.I recently reformatted my PC and reinstalled ISS onto Windows 2000. 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:I find the session is set on the page above, but on redirecting to the 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 Jimcode:
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
Post Follow-up to this messageSorry - ignore my stupid question. I disabled Zone Alarm 5.1.033.000 and all is fine. Jim
Post Follow-up to this messagePowered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.