Redirecting
I am REAL new to ASP, and I'm trying to figure out how to do something. I am not a programmer, so I need very explicit help.
I have a web page, generated by the following link in an HTML page:
<A HREF="http://server/trData?sql=EXECUTE+up_select_xml_projects+'0'+&xsl =Projects.xsl&ContentType=Text/HTML&Root=Project" Class="BlueText">Projects</A>
The result is an XML page. The XML page includes an Archive button, which activates the following:
<xsl:when test="@Archive_ID='0'">
<FORM METHOD="POST" ACTION="/testresults/archive.asp"
<INPUT TYPE="HIDDEN" NAME="ProjID" VALUE="{@Project_ID}"/>
<INPUT TYPE="image" SRC="/testresults/archive.gif" VALUE="Move to Archive"/>
The archive.asp file correctly sends a command to the SQL server, but I'm left at a blank page in the browser. If I hit the Back button, I return to the original list, but it still shows the "Archived" project, and I have to refresh the browser.
I think I need to put something in the ASP file that will automatically reload the page generated by the original anchor above.
Can anyone help?
Thanks,
Ken
|