need to redirect page after form submission

Discussion in 'Email' started by kbtech, Jun 28, 2011.

  1. I used the following to add a Contact submit form to my site:
    http://support.Winhost.com/KB/a683/p...mple-code.aspx

    However, I was wondering how I could get it to display "Message sent" and then redirect back to the homepage.

    The original was
    Response.Write "Mail sent..."

    I tried
    Response.Redirect "http://www.homepage.com"

    Both worked, but how can I combine these 2?
     
    Last edited by a moderator: Oct 14, 2015
  2. Simplest way to do this would be to redirect to a success page, then have the success page redirect to your home page. Either that or client side redirection.
     

Share This Page