asp_web_howto thread: Timer
Message #1 by "Joe Ehrenfeld" <joee@v...> on Tue, 21 Aug 2001 16:02:41
|
|
I have a form that when submited post to a page that executes asp code
that updates table in a database. If all went well then I have a redirect
to the home page of the application. I like the redirect because this
means the users does not have to click a link to get back. What I don't
like is that the user does not see a confirmation that the transaction was
completed. How can I set up a timer so that the page redirects after 5
seconds. I know I can use a META REFRESH. Is this the only way? If so how
to I get the redirect to happen after the REFRESH has run out?
Thanks.
Message #2 by "Craig Flannigan" <ckf@k...> on Tue, 21 Aug 2001 16:09:52 +0100
|
|
The META Refresh specifies a page. Just have your homepage specified in the
Refresh tag, and after your time setting, it will take them there
automatically...
-----Original Message-----
From: Joe Ehrenfeld [mailto:joee@v...]
Sent: Tuesday 21 August 2001 16:03
To: ASP Web HowTo
Subject: [asp_web_howto] Timer
I have a form that when submited post to a page that executes asp code
that updates table in a database. If all went well then I have a redirect
to the home page of the application. I like the redirect because this
means the users does not have to click a link to get back. What I don't
like is that the user does not see a confirmation that the transaction was
completed. How can I set up a timer so that the page redirects after 5
seconds. I know I can use a META REFRESH. Is this the only way? If so how
to I get the redirect to happen after the REFRESH has run out?
Thanks.
Message #3 by "Joe Ehrenfeld" <joee@v...> on Tue, 21 Aug 2001 20:50:01
|
|
The problem is if there is an error the page still refreshed to the home
page. I want to avoid this when an error occurs
> The META Refresh specifies a page. Just have your homepage specified in
the
> Refresh tag, and after your time setting, it will take them there
> automatically...
>
> -----Original Message-----
> From: Joe Ehrenfeld [mailto:joee@v...]
> Sent: Tuesday 21 August 2001 16:03
> To: ASP Web HowTo
> Subject: [asp_web_howto] Timer
>
>
> I have a form that when submited post to a page that executes asp code
> that updates table in a database. If all went well then I have a redirect
> to the home page of the application. I like the redirect because this
> means the users does not have to click a link to get back. What I don't
> like is that the user does not see a confirmation that the transaction
was
> completed. How can I set up a timer so that the page redirects after 5
> seconds. I know I can use a META REFRESH. Is this the only way? If so how
> to I get the redirect to happen after the REFRESH has run out?
>
> Thanks.
Message #4 by "phil griffiths" <pgtips@m...> on Wed, 22 Aug 2001 09:23:03
|
|
Why don't you send them to a different page if an error occurs?
> The problem is if there is an error the page still refreshed to the home
> page. I want to avoid this when an error occurs
>
|