PDA

Click to See Complete Forum and Search --> : How to return to originally redirected page?


aspfan
Mar 7th, 2005, 01:31 AM
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.!

dj4uk
Mar 7th, 2005, 03:26 AM
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

token
Mar 7th, 2005, 09:05 AM
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.

aspfan
Mar 8th, 2005, 07:08 AM
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:

token
Mar 8th, 2005, 09:10 AM
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... "

aspfan
Mar 9th, 2005, 01:34 AM
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... "
thankyou. :)