Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

locating lower level

Status
Not open for further replies.

bobbygwd

Programmer
Jun 21, 2001
15
US
In a basic html link, to get to a lower level you would do as so..

<a href=&quot;..\login.asp&quot;>

In asp, while using a response direct, it does not seem to work...

<% if session(&quot;level&quot;) <> 1 then response.redirect(&quot;..\login.asp&quot;) %>

Why won't this work?

I have even tried &quot;..\\&quot; using the extra backslash as an escape character for the preceding backslash.

If someone could tell me how to access a lower level page through asp, while having the link remain local.
It would be of much help.

Thanks in advance.
-Bobby Gordon
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top