Click to See Complete Forum and Search --> : delay response.redirect


war1000
May 5th, 2003, 09:16 AM
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.

coolbiz
May 5th, 2003, 10:01 PM
One way is to use the HTML META-DATA tag (this goes in between your <HEAD>...</HEAD>):

<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