Click to See Complete Forum and Search --> : Fairly easy ASP question


Chikara
07-30-2007, 01:49 PM
I'm attempting to use ASP to change an include based on a QS. For example. If the QS is page=somepage, I would want the include statement to look like this.

<!-- #include virtual="/path/to/<%=Request("page")%>.asp" -->

That doesn't work but I think you should understand what I'm going for.

Thanks in advance!

baseiber
07-30-2007, 02:53 PM
You would probably be better off using Server.Execute.


Server.Execute("parentFolder/pageName.asp")

or

Server.Execute("parentFolder/" & variableContainingPageName)

Palache
08-08-2007, 03:28 AM
Hello all i have a friend who is looking to recruit a ASP.Net SQL Server Web site developer, can anyone help? he must ghave at least 2yrs commercial experience and is willing to work in brighton

Palache
08-08-2007, 03:30 AM
I can be contacted on 0207 314 1400