|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Problems with session variables in iss 6
Code:
Hi! I'm having problems with an ISS installed on a windows server 2003 when I use ASP session variables The session values can be accessed within the same page but disapear when I change Here is what I use to test it:sessionloser.asp <%@ Language=VBScript LCID=1034%> <% option explicit %> <%if session("var") = "" then%> <%="session lost!"%> <%session("var")="hello!!!"%> <%end if%> <%=session("var")%> <html> <body> <a href="sessionloser.asp">next</a> </body> </html>I have the timeout of the website properties set to 900 seconds and the next checkbox (...open http conections...)checked The asp works on another server (windows 2000) Can anybody help? :) |
|
#2
|
|||
|
|||
|
I don't think your testing code will work right. But it's hard to read with each line wrapped in asp delimiters, you don't need to do that.
Wander through your IIS6 settings and verify that you've enabled session state for your website.
__________________
====== Doug G ====== I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain |
![]() |
| Viewing: ASP Free Forums > System Administration > Microsoft IIS > Problems with session variables in iss 6 |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|