I have an ASP site that requires authentication, uses the NT logon, and stores the user name typed in - into a session variable.
On a couple of systems I have problems with losing the session variables.
1) A user will log onto the site and navigate all parts ok.
All pages check to make sure the user's session hasn't timed out (checks for session("username"
= ""
2) At some point, the user will click a link that opens a new window [target=_blank] and could be either an internal or external hyperlink. My main site page stays open in the background and the user can still navigate it no problem.
3) As soon as this second window is closed, I lose the session variables on my main page, and I'm also asked to log in again (with the NT logon box)
======================
I've checked the servervariables at these three stages, and found that after the second window is closed, my main page:
* loses the HTTP_COOKIE variable
* has a HTTP_AUTHORIZATION:NTLM TlRMTVNTUAADAAAA...... string.
Any ideas on how to fix?
On a couple of systems I have problems with losing the session variables.
1) A user will log onto the site and navigate all parts ok.
All pages check to make sure the user's session hasn't timed out (checks for session("username"
2) At some point, the user will click a link that opens a new window [target=_blank] and could be either an internal or external hyperlink. My main site page stays open in the background and the user can still navigate it no problem.
3) As soon as this second window is closed, I lose the session variables on my main page, and I'm also asked to log in again (with the NT logon box)
======================
I've checked the servervariables at these three stages, and found that after the second window is closed, my main page:
* loses the HTTP_COOKIE variable
* has a HTTP_AUTHORIZATION:NTLM TlRMTVNTUAADAAAA...... string.
Any ideas on how to fix?