Hi
I have a piece of ASP3 code and i want to do the equivalent in IIS4 / asp2. Any ideas for an alternative to server.exec?
in iis5:
--------
...shared page HTML...
..
<% if varPage = "menu1" then
server.execute("menupage1.asp"
elseif varPage = "menu2" then
server.execute("menupage2.asp"
else
server.execute("mainmenu.asp"
end if
%>
..etc.
--------
Obviously I can't straight implement some #includes within the IF statement as they are ALL parsed first and regardless of any ASP code.
Is there a regular way around this?
Many thanks in advance for even reading this far.
Julian
I have a piece of ASP3 code and i want to do the equivalent in IIS4 / asp2. Any ideas for an alternative to server.exec?
in iis5:
--------
...shared page HTML...
..
<% if varPage = "menu1" then
server.execute("menupage1.asp"
elseif varPage = "menu2" then
server.execute("menupage2.asp"
else
server.execute("mainmenu.asp"
end if
%>
..etc.
--------
Obviously I can't straight implement some #includes within the IF statement as they are ALL parsed first and regardless of any ASP code.
Is there a regular way around this?
Many thanks in advance for even reading this far.
Julian