Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

IIS and session variables
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:

code:
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
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 Jim

Report this thread to moderator Post Follow-up to this message
Old Post
jim
10-24-04 08:55 AM


Re: IIS and session variables
Sorry - ignore my stupid question. I disabled Zone Alarm 5.1.033.000 and all
is fine.

Jim



Report this thread to moderator Post Follow-up to this message
Old Post
jim
10-24-04 08:55 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

ASP archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Forum Jump:
All times are GMT. The time now is 04:28 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.