Specifying SSIs from HTML form
Hi there
I wanted to use a hidden form field from one ASP/HTML page, such as:
<input type="hidden" name="mySSIfile" value="MyTextFile.txt" />
The value of which, on submission to my target ASP page, could be specified as an SSI file and generated into the target page. So I wrote in the target page:
<%
strDetails = Request.Form("mySSIfile")
response.Write("")
%>
But this doesn't actually execute the #include command. I've tried all different ways of doing this I can think of, like breaking out of the <% %> delimiters etc, but can't make it work. Is it possible to do this, or am I missing something obvious?
|