I'm using ASP classic to get strings from a form on an HTML file using
Request.Form("Name")
I can add a fake input that will hold the html file's name for me like so:
<input name="Page" type="hidden" value="filename.htm">
And then in the ASP file use
Request.Form("Page")
But I think there must be a smarter way for the ASP code to get the HTML filename.
Am I right? If so, how is it done?
As an alternative, maybe there is a way to get the HTML filename into the HTML itself with JavaScript? so that I'll be able to change the value of the input to the filename of the HTML holding it?