Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 215
  • 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

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