[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 216
  • Last Modified:

Redirecting from ASP Form Handler

I've got a form contained within an ASP file that uses another ASP as the handler.  Within the handler, I've attempted to use:
<%Response.Redirect "EFIAIR_disp_volt.asp" %> to go back to the ASP form page that called the handler.  I receive no error and the redirection does not work.  The frame remains on the handler.asp.
I've used 'Creating a Data Entry Form' in the Visual Developer Studio as an example.
Thanks in advance.
0
jlow
Asked:
jlow
1 Solution
 
rpoffelCommented:
You may not be getting an error because you've specified "on error resume next" in your handler.  The redirect will not work once html has been written.  Make sure that your redirect comes before the <html> tag.
0

Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now