BrewGuru99
January 3rd, 2000, 01:05 PM
I am expanding my website, and have added a new virtual directory that is parallel with the Scripts directory (Both physically and virtually). If the user is not logged on (Determined by Session("ID")) Then I redirect them to the login page. I have gone through, and determined that the IP address does not change, but as soon as the login page redirects the user to the page that directed the user to it, ALL my session variables are wiped out. I don't know if this has something to do with the directory structure I'm using, but so far, all my redirects to the PlanCheck directory wipe out my variables (and that's not good!!! :)
My directory structure:
InetPub
|_____PlanCheck
|_____Scripts
<%
IF Session("ID") <> "" then
'Display page normally
else
'Redirect to login page
Response.Redirect "../Scripts/Login.asp?Database=PlanCheck"
END IF
%>
Any response would be appreciated:)
Brewguru99
My directory structure:
InetPub
|_____PlanCheck
|_____Scripts
<%
IF Session("ID") <> "" then
'Display page normally
else
'Redirect to login page
Response.Redirect "../Scripts/Login.asp?Database=PlanCheck"
END IF
%>
Any response would be appreciated:)
Brewguru99