Session Variables not set
Hello everybody,
I’m experiencing a problem regarding Session Variables and/or Cookies.
I have developed a web site, part of which is the member’s area (I guess well known to everyone) using ASP code. The problem is that it is functioning perfect on the ISP who is hosting the site but it doesn’t on my local server in the office. In both the cases a Session Variable is set to true (lets named it “SESSecured” ) when a user is authenticated (programmatically using Access Database) and all the rest ASP pages are querying the variable in order to proceed or not. In my office server this variable is always empty each type a new ASP page is loaded. In fact any variable set in any previous stage is empty which made me to investigate further and to found that each ASP page is getting a new SESSION_ID! On the cookies matter, tried to use cookies instead of Session variables and found that no cookies can be created!
I think that this problem has to do with my IIS 5.0 on my server or the configuration of it.
I would highly appreciate anyone’s help or idea on it.
chrishirst posted this at 15:52 — 28th January 2006.
He has: 379 posts
Joined: Apr 2005
it will probably depend on how you access the local server. If it with the WINS (NETBIOS) name (http*://SERVER_NAME), cookies and sessions may not work reliably
Chris
Indifference will be the downfall of mankind, but who cares?
Venue Capacity Monitoring
Code Samples
epevas posted this at 13:20 — 30th January 2006.
They have: 2 posts
Joined: Jan 2006
Well Thank you very much !!! By using the IP address of the server the problem solved. Thank you again!!!!
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.