note 10772 deleted from function.header by jimw

From: Date: Wed, 31 Oct 2001 21:47:02 +0000
Subject: note 10772 deleted from function.header by jimw
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-19759@lists.php.net to get a copy of this message
Hi, I'm responding to dale@vocalscape.com's suggestion of using javascript to redirect users. There is one major drawback to this, however. If the user attempts to use the 'Back' button from the destination page, the user won't go anywhere. This can get quite frustrating, and could cause users not to come back to your site. You would be better if you did: setTimeout("window.location='destination.htm'",3000) This will cause the browser to wait for three seconds, and then go to destination.htm. Now, when the user tries to use the 'Back' button, it will work. Hope this is usefull.

« previous php.notes (#19759) next »