SitePoint Sponsor

User Tag List

Results 1 to 4 of 4

Thread: Processing Request... page?

  1. #1
    SitePoint Enthusiast
    Join Date
    May 2002
    Posts
    81
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Processing Request... page?

    Hi,

    I've got two pages. The first page has a simple form that collects a value from the user and then posts this value to the second page that performs a query. This query has some loops in it that can sometimes force it to wait up to 15 seconds.

    My question is how can I implement a "Processing Request..." message until the results are returned?

    Right now it just sits on the first page until the results are returned, THEN goes to the second (display) page. How do I call some sort of message to be displayed so it's a smoother transition and the user doesn't think the browser has stopped responding?

    Any suggestions appreciated.

    Thanks

  2. #2
    Guru Bullschmidt's Avatar
    Join Date
    Apr 2002
    Location
    USA
    Posts
    524
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Perhaps do a Response.Flush after the top part of the new page so at least the user can see that something is happening...
    J. Paul Schmidt
    www.Bullschmidt.com - Freelance Web and Database Developer
    www.Bullschmidt.com/DevTip.asp - Classic ASP Design Tips

  3. #3
    SitePoint Wizard xyuri's Avatar
    Join Date
    Jul 2002
    Location
    Brisbane
    Posts
    1,487
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Exactly what does "Response.Flush" do ?

  4. #4
    ********* User Jmi's Avatar
    Join Date
    Dec 2002
    Location
    Australia
    Posts
    221
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    "Flush" everything in the buffer into the response.
    meaning display whatever that is in the buffer.
    Signature not found.

Bookmarks

Posting Permissions

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