How to return to originally redirected page?
Hi all,
I will be having "middle" page for showing messages to user. For example, in this forum, when we press Submit Post, it will bring me to a page saying, " Please wait while we redirect you to..."
PageA ---transffered to--> middle page ---->to transfer back to pageA
1)So, my question is, how do I make sure the middle page knows the URL of pageA?
2)another thing is, how do i create a delay, so that the message on the middle page can be read at least for 2 seconds?
Thanks a mil.!
Re: How to return to originally redirected page?
You can pass all the parameters needed to each page using the QueryString.
Best thing to do on the middle page is use a meta refresh or javascript redirect after a time delay - search the forums there are loads of results for this.
DJ
Re: How to return to originally redirected page?
I just posted the code to redirect on another question:
<meta http-equiv="Refresh" content="5; frmMain.aspx">
'5' is the seconds you want to the current page to display before redirecting, and 'frmMain.aspx' is the page you would like to be redirected to.
Re: How to return to originally redirected page?
Alright people.
thanks. I will try the meta tag for the 5 second delay.
However, for the redirecting part, i need it to be dynamic.
I will do it first on thursday and search for help if i need to.
Thanks :wave:
Re: How to return to originally redirected page?
Check out this post, I just posted there and it should help you do exactly what you want:
http://www.vbforums.com/showthread.php?t=327769
The thread title is:
"How do i do this? I'm not sure what is it call... "
Re: How to return to originally redirected page?
Quote:
Originally Posted by token
thankyou. :)