IIS no longer saving session variables
Posted
by
John
on Server Fault
See other posts from Server Fault
or by John
Published on 2011-02-23T19:55:01Z
Indexed on
2011/02/23
23:27 UTC
Read the original article
Hit count: 182
I'm running IIS v7 on a Win7 development machine. I have PHP code that saves session variables and calls them back later. This has been working on this machine for some time.
For some reason now, the session variables dissapear immediatly after saving. Code that used to work fine on http://localhost/, suddenly now does not.
I have tested different browsers - the vars dissapear regardless of browser.
I have tested identical code on different servers. The problem exists only on this development machine.
I tried some code that saves a session var, then reads it back and displays it, then shows a link to click on to read it back and display again. What happens is the session var DOES get written and read back and displayed ok. But when you click the link to view it again, it's gone.
I don't recall making any changes to IIS. But I did run several malware scanners and clean-up tools.
Is anyone aware of any setting in IIS that disallows session vars? Any other throughts?
© Server Fault or respective owner