Page with slow response after post needs loading image until response redirects to another page

Last post 05-20-2008 1:48 PM by natura.light. 2 replies.

Sort Posts:

  • Page with slow response after post needs loading image until response redirects to another page

    05-20-2008, 11:18 AM
    • Member
      point Member
    • natura.light
    • Member since 02-19-2008, 10:29 AM
    • Posts 2

     We have a page that loads results from a web service.  You can then page through the results, but each page requires another request to the web service.  This means there is a slow response time from the moment "Previous" or "Next" is clicked, where the page you are looking at simply sits there. 

    I am tasked to add a loading image, without ajax if possible.  I can easily change the visibility of the loading image clientside with javascript. The problem is that once the "post" is made via the server side click event, the page just sits there as before, but the loading gif animation does not display as an animation.  It just freezes.

     Is there a client-side approach to handle this without using ajax?
     

    Filed under:
  • Re: Page with slow response after post needs loading image until response redirects to another page

    05-20-2008, 1:34 PM
    • Participant
      1,128 point Participant
    • ColinWhitlatch
    • Member since 01-23-2008, 9:29 PM
    • Atlanta, GA
    • Posts 212

    There's a lot you can do without using some type of ajax mechanism.  What your browser does between the time you send out a request and get a response from the server is completely out of control.  IE likes to hang, FireFox likes to sit a bit longer on the previous page, and others just immediately blank out the screen.

     Your situation is exactly why the need for ajax arose in the first place :)

  • Re: Page with slow response after post needs loading image until response redirects to another page

    05-20-2008, 1:48 PM
    Answer
    • Member
      point Member
    • natura.light
    • Member since 02-19-2008, 10:29 AM
    • Posts 2

    Indeed, I have discovered that the problem is Internet Explorer.  Here is a thread with several work-arounds to try:

    http://www.webdeveloper.com/forum/showthread.php?t=90647 

Page 1 of 1 (3 items)