I have a website that I would like to display two ways; either a menu bar is displayed on the left, or not.
If the user goes to www.mydomain.com, they should get the regular website with menu bar. However, if they go to www.mydomain.com/search, they should get the website without the menu bar.
I don't want to have to deal with replicating the site in two places and maintaining it.
Here's what I'm thinking so far. If someone goes to www.mydomain.com/search, I have an index.asp file that starts a session or writes a cookie and redirects to the regular website, which will have something like:
IF session <> "search" THEN
<!--#include file="menu.asp" -->
END IF
I need help making the aforementioned index.asp page and writing the IF/THEN statement.
thanks for your help!
If the user goes to www.mydomain.com, they should get the regular website with menu bar. However, if they go to www.mydomain.com/search, they should get the website without the menu bar.
I don't want to have to deal with replicating the site in two places and maintaining it.
Here's what I'm thinking so far. If someone goes to www.mydomain.com/search, I have an index.asp file that starts a session or writes a cookie and redirects to the regular website, which will have something like:
IF session <> "search" THEN
<!--#include file="menu.asp" -->
END IF
I need help making the aforementioned index.asp page and writing the IF/THEN statement.
thanks for your help!