After importing a website from our test bed server, the website www.xyz.com is losing session variables when logging in. The pages it is switching between upon login are in different directories within the same domain. Once logged in, variables are passed without a problem.
The test bed version (Server 1), which is on IIS 6 is working correctly, whereas the production version (Server 2), which is on IIS 7.5 is not.
I have already deleted the Application Pool that was automatically created by IIS and switched it to the DefaultAppPool as it is setup on the test bed version.
Edit1: As per other posts on this and other sites regarding similar issues, I have removed the https bindings. Still not passing session variables
This is NOT an issue with session time-out.
Edit2: Like I said, it works as it should in IIS6, but it is also setup differently than IIS7. I hope you can follow the hierarchy below.
Format in IIS6:
www.mydomain.com
--Intranet (virtual directory)
----Subdirectory
-------rootDirectory_1
---------login.asp
-------rootDirectory_2
---------default.asp
Format in IIS7:
www.mydomain.com
--rootDirectory_1
----login.asp
--rootDirectory_2 (virtual directory)
----default.asp