Newbe: QueryString and SSI

P

Patrick Burgess

Is there any way at all to do something like this:

<!--

<%

Response.Write(" #include VIRTUAL=" & Request.QueryString("content") &
".inc ")
%>

-->


Or a way around it? The site I'm working on has these little content files
and tons of server side includes. We'd love to be able to pass a
href=thispage.asp?content='thatarticle" where thispage.asp has the line
referenced above. It seems by my testing that as soon as the server sees the
word include - whether or not we're putting together in a variable string..
the server comes back and says 'I could not find the very next character'.

Surely we're missing something silly - or we've taken a wrong approach?

Thanks,
 
P

Patrick Burgess

Ha! I found the Server.Execute bit last night and was up and running in 15.
Heh. its been awhile since I've done this. :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top