Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Session Problems - losing session

Status
Not open for further replies.

amouda

MIS
Nov 7, 2002
1
CA
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?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top