how to set time interval in app engine
How do you set time interval before the events occurs in google app engine? like I want to give the users 3 seconds to read the warnings before they are redirected to some pages. like there is 3 second pause before开发者_如何学编程 self.redirect("/"). Thank you
If you want to have a pause on the client-side before redirecting to a different page, you need to do that on the client side, so it will have nothing to do with AppEngine directly.
You can create such an effect with a meta refresh tag in the <head>
section of your page:
<meta http-equiv="refresh" content="3;URL=redirect_page.htm">
In the content attribute, the 3
is the number of seconds to wait, and redirect_page.htm
is the URL to which you want the user to go after the pause.
精彩评论