Ok, I have searched the forums and even some ASP forums. Here is my problem, which I can't seem to find an answer to, but that is probably something simple I am missing.
I have code that is set-up to simple use the Windows Logon name in place of forcing the User to login again in the ASP Runner app. It uses code like;
[indent]if Request.ServerVariables("LOGON_USER")<>"" then
SESSION("UserID") = Request.ServerVariables("LOGON_USER")
SESSION("AccessLevel") = ACCESS_LEVEL_USER
Response.Redirect "..._list.asp"
end if[/indent]
Where it sets the USERID and then does a Response.Redirect.
The problem is that I have four different tables for which I have screens built. They all use the same exact code place in the LoginOnLoad Global Event. Two of the screens function as expected, while the other two for what ever reason do not. Through debugging I was able to determine that they all do execute the LoginOnLoad event and set the UserId, but for some reason two of them just won't do the redirect to the List screen and instead still go right into the Login screen. Actually it enters the Login.asp, fires the LoginOnLoad event and then even though there is a redirect it still loads and displays the Login screen and waits for input.
I have checked seurity, IIS settings, permissions, etc.... All are the same for all 4 apps. I just can't figure out what is wrong. They all use the same App Pool, so that doesn't seem like it could be an issue.
I have even tried putting a redirect at the beginning of the Login.asp file and it worked for a while, but then eventually it stopped working and caused a problem such that the Login.asp file wouldn't function at all.
So I am curious if anyone else has ever run into this before or if this is actually a purely ASP question and maybe I should address it in a different forum.
Any help whatsoever would be appreciated since I am at my whits end.