Results 1 to 3 of 3

Thread: Redirecton

  1. #1

    Thread Starter
    New Member
    Join Date
    Apr 2000
    Posts
    4

    Post

    Can anyone show me an example?

    I want to display a web page where user inputs some data, when the user clicks on the Submit button he is taken to another web page. The second web page calls ASP page waits until the ASP page finishes and than takes the user to a final result web page.

    Basically I want to do is the same as Microsoft's Windows Update site.

    Thanks

    Peter
    [email protected]



  2. #2
    Guest
    Code:
    <%
    
      ' this is the pseudo code for the asp processing page, 
      ' there can be no visible content on this page.
      ' Nothing can be sent back to the browser before 
      ' the Response.Redirect is encountered.
    
      intVariable1 = Request.Form("variable1")
      strVariable2 = Request.Form("variable2")
    
      ' Do some processing  
      ' .
      ' .
      ' .
      ' .
      ' . 
      ' .
      ' .
      ' .
      ' Processing finished, now redirect
    
      Response.Redirect "http://localhost/finalpage.asp"
    
    %>

  3. #3

    Thread Starter
    New Member
    Join Date
    Apr 2000
    Posts
    4

    Post

    That's my problem - the second web page has a server side progress bar, which means the page can't be buffered.

    How can I create a new window, wait for that window to close and than continue with the next line in the web page?

    Thanks

    Peter

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