Sessions and unperdictable results...
I have two servers at my disposal, a development server and a live server. These two servers are suppose to be identical, they are not, but I can't figure out why.
My problem relates to a session variable, and how they act differently between servers. The two servers have identical code and file structures.
I have a Login site which then will let you click to a data site. These are both in seperate directories on the harddrive and seperate sites in IIS.
Live Server:
When I abandon my sessions (Session.Abandon) in the data site, the user retains the session variables in the Login site.
This is the way I want it to be, so I assume it's working correctly.
Development Server:
When I abandon my sessions (Session.Abandon) in the data site, the user does not retain their session variables in the Login site.
Does anyone have any clues why they would act differently with the same version of IIS, and the exact same code?
Here is the logout.asp page I'm using in the data site:
VB Code:
<%
session.Abandon
Response.Redirect "../mysecuregienow/mainpage.asp"
%>
Any help would be greatly appreciated.
Thanks,
Michael Woolsey