How to save HTML after Redirect into variable
Posted on 2008-11-01
I have a classic ASP application that redirects from one page to another. A.asp > B.asp
The code within the A.asp page is Response.Redirect("B.asp").
My question is how do I dump ONLY the HTML markup used to create A.asp into B.asp. Basically, I want to capture the HTML into a variable within B.asp so I can later recreate the A.asp page at a later time.
For example, I want to be able to use Response.Write() to recreate the A.asp page.
Below is code inside B.asp page
Dim varPageA as String
Set varPageA = "HTML content from A.asp"
Thanks and don't forget to vote Nov 4th!