Say I have a page that is called with URL arguments.
This page gets some data in a form whose action calls a page that saves the data.
SaveData.asp saves and shows text saying "Data was saved blah, blah, blah"
and it shows a footer with a customized back button with code like in the
following simplified example:
< %
Response.write "< a href=""sample.asp?P=" & MyVar & """>"
% >
So the back button will call and refresh the original page with the proper
params to show the updated info.
So far, so good.
I want SaveData.asp to save, and show the "blah, blah" text but to revert to
the calling page after 4 seconds. So I added something like
< meta http-equiv="Refresh" Content="4;URL=sample.asp" >
to the < head > section of the page.
This works but it does not pass the URL arguments I need.
Q: How do I build the
sample.asp?P=" & MyVar string for the META tag
in < head > section at runtime?