IIS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationIIS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
  #1  
Old October 24th, 2004, 01:08 AM
jimriggott jimriggott is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2003
Posts: 53 jimriggott User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 h 13 m 57 sec
Reputation Power: 6
session state issue

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

Reply With Quote
  #2  
Old October 24th, 2004, 11:05 AM
jimriggott jimriggott is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2003
Posts: 53 jimriggott User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 h 13 m 57 sec
Reputation Power: 6
Sorry - ignore my stupid question. I disabled Zone Alarm 5.1.033.000 and all is fine.

Jim

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationIIS > session state issue


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway