CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    May 2002
    Posts
    3

    delay response.redirect

    I have a password change page. Now in this page when a password change is successful, I first display a confirmation of the password change and I also want to notify the user that the page will be redirected in 10 seconds. Now I don't know how to redirect the page after a delay (or how to add the delay). Please help me out. Your help is greatly appreciated.

    Thanks a lot.

  2. #2
    Join Date
    Feb 2001
    Location
    Stamford CT USA
    Posts
    2,167
    One way is to use the HTML META-DATA tag (this goes in between your <HEAD>...</HEAD>):
    Code:
    <META HTTP-EQUIV=Refresh CONTENT="10; URL=yourURL">
    Another way is to use client script. You can easily incorporate TIMER or TIMEOUT by using JavaScript to redirect the browser to another page.

    -Cool Bizs

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

Featured