Results 1 to 6 of 6

Thread: How to return to originally redirected page?

  1. #1

    Thread Starter
    Member
    Join Date
    Feb 2005
    Posts
    45

    Arrow 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.!

  2. #2
    Frenzied Member dj4uk's Avatar
    Join Date
    Aug 2002
    Location
    Birmingham, UK Lobotomies: 3
    Posts
    1,131

    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

  3. #3
    Addicted Member
    Join Date
    Nov 2004
    Posts
    149

    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.

  4. #4

    Thread Starter
    Member
    Join Date
    Feb 2005
    Posts
    45

    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

  5. #5
    Addicted Member
    Join Date
    Nov 2004
    Posts
    149

    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... "

  6. #6

    Thread Starter
    Member
    Join Date
    Feb 2005
    Posts
    45

    Re: How to return to originally redirected page?

    Quote Originally Posted by token
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width