P
panda
Hi,
I have a section of my intranet that i track with a session. That is to make
sure that users have to login before they are able to use / view certain web
pages.
In my wwwroot directory i have two locations where these files are placed.
The main files are in admin the other is in news.
With these two folds they work fine. This is what i have on the web pages
<%
'If the session variable is False or does not exsist then redirect the user
to the unauthorised user page
If Session("blnIsUserGood") = False or IsNull(Session("blnIsUserGood")) =
True then
'Redirect to unathorised user page
Response.Redirect"unauthorised_user_page.htm"
End If
%>
However, i have another section of the intranet that is located in a
different logical drive. I have created a virtual site mapping to this
folder. I can access those webpages fine. HOwever when i add the code
<%
'If the session variable is False or does not exsist then redirect the user
to the unauthorised user page
If Session("blnIsUserGood") = False or IsNull(Session("blnIsUserGood")) =
True then
'Redirect to unathorised user page
Response.Redirect"unauthorised_user_page.htm"
End If
%>
and try to access it after logging in, the web page is unable to detect the
session.
Why is that?
Thanks
I have a section of my intranet that i track with a session. That is to make
sure that users have to login before they are able to use / view certain web
pages.
In my wwwroot directory i have two locations where these files are placed.
The main files are in admin the other is in news.
With these two folds they work fine. This is what i have on the web pages
<%
'If the session variable is False or does not exsist then redirect the user
to the unauthorised user page
If Session("blnIsUserGood") = False or IsNull(Session("blnIsUserGood")) =
True then
'Redirect to unathorised user page
Response.Redirect"unauthorised_user_page.htm"
End If
%>
However, i have another section of the intranet that is located in a
different logical drive. I have created a virtual site mapping to this
folder. I can access those webpages fine. HOwever when i add the code
<%
'If the session variable is False or does not exsist then redirect the user
to the unauthorised user page
If Session("blnIsUserGood") = False or IsNull(Session("blnIsUserGood")) =
True then
'Redirect to unathorised user page
Response.Redirect"unauthorised_user_page.htm"
End If
%>
and try to access it after logging in, the web page is unable to detect the
session.
Why is that?
Thanks