Avatar of coreybryant
coreybryantFlag for United States of America

asked on 

If Then Statement for a Website

I am working on a website and would like to know that if the link is something like http://www.example.com/securit/pci-dss if I can have a couple of different files appear in the navigation?

I am using Helicon Rewrite so that is why the URL looks that way (it is not http://www.example.com/securit/pci-dss.asp or http://www.example.com/securit/pci-dss/default.asp)

For example, when they are on this page, I would like the navigation to be
<!--#INCLUDE FILE="../includes/securitynav.asp" -->

Open in new window


How can I accomplish this?

Thank you!
ASPWeb Languages and Standards

Avatar of undefined
Last Comment
coreybryant
ASKER CERTIFIED SOLUTION
Avatar of Eyal
Eyal
Flag of Israel image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of coreybryant
coreybryant
Flag of United States of America image

ASKER

Thanks!  If I have seven different includes, do I just repeat
<%else%>
<!--#INCLUDE FILE="../includes/securitynav2.asp" -->

Open in new window

until I am done?  Do I need to put the file name anywhere in there?
SOLUTION
Avatar of Eyal
Eyal
Flag of Israel image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
Avatar of coreybryant
coreybryant
Flag of United States of America image

ASKER

Thank you very much!
ASP
ASP

Active Server Pages (ASP) is Microsoft’s first server-side engine for dynamic web pages. ASP’s support of the Component Object Model (COM) enables it to access and use compiled libraries such as DLLs. It has been superseded by ASP.NET, but will be supported by Internet Information Services (IIS) through at least 2022.

82K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo