bgreenhouse
Technical User
Hi Everyone
Is there any way in ASP to tell what page a user is on? I have an .inc file that is a anvbar consisting of drop down menus. I want to make the option selected be dependent (obviously) on whatever page you are on. I want to do something like:
<%if <location> = 1stpage.asp then%>
<option value=1stpage selected>1st Page<option>
<%else%>
<option value=1stpage>1st Page<option>
<%end if%>
etc. etc.
But I don't know how to determine <location>. This must be easy. I tried REsponse.QueryString("URL", but that didn't work. Anyone?
Ben
Is there any way in ASP to tell what page a user is on? I have an .inc file that is a anvbar consisting of drop down menus. I want to make the option selected be dependent (obviously) on whatever page you are on. I want to do something like:
<%if <location> = 1stpage.asp then%>
<option value=1stpage selected>1st Page<option>
<%else%>
<option value=1stpage>1st Page<option>
<%end if%>
etc. etc.
But I don't know how to determine <location>. This must be easy. I tried REsponse.QueryString("URL", but that didn't work. Anyone?
Ben