Results 1 to 14 of 14

Thread: Show a "thank you" page for only 15 seconds

Hybrid View

  1. #1
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: Show a "thank you" page for only 15 seconds

    Hey,

    You could do this in a couple ways.

    1) A quick and dirty way - refresh tag in head element:

    http://en.wikipedia.org/wiki/Meta_refresh

    2) A more correct way, send Redirect Response to the page:
    Code:
    <script runat="server">
    private void Page_Load(object sender, System.EventArgs e)
    {
    Response.Status = "301 Moved Permanently";
    Response.AddHeader("Location","<your new url>");
    }
    </script>
    Hope that helps!!

    Gary

  2. #2

    Thread Starter
    MS SQL Powerposter szlamany's Avatar
    Join Date
    Mar 2004
    Location
    Connecticut
    Posts
    18,263

    Re: Show a "thank you" page for only 15 seconds

    How would the "more correct" way be done after a 15 second pause?

    *** Read the sticky in the DB forum about how to get your question answered quickly!! ***

    Please remember to rate posts! Rate any post you find helpful - even in old threads! Use the link to the left - "Rate this Post".

    Some Informative Links:
    [ SQL Rules to Live By ] [ Reserved SQL keywords ] [ When to use INDEX HINTS! ] [ Passing Multi-item Parameters to STORED PROCEDURES ]
    [ Solution to non-domain Windows Authentication ] [ Crazy things we do to shrink log files ] [ SQL 2005 Features ] [ Loading Pictures from DB ]

    MS MVP 2006, 2007, 2008

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width