Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Ajax enabled page stops responding after kept idle for some time.

Ajax enabled page stops responding after kept idle for some time.

Scheduled Pinned Locked Moved ASP.NET
csharpjavascriptasp-netwinformssysadmin
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Member 565451
    wrote on last edited by
    #1

    My asp.net application is ajax enabled. After the page is loaded completely, if there is no user activity for sometime, the screen stops responding until i close the browser and open it again. In some of the screens, on Session timeout (i have tested it by keeping the screens idle for 20 minutes), the user is redirected to the login page. But on few screens, the redirect does not happen. The screen stands still and no buttons links on the page respond to any mouse or keyboard event. At this point, if i press the "Refresh" button on the browser address bar, then i get logged out of the application and redirected to the login page. On the browser Status bar (bottom left hand corner of the browser window) a javascript error message displayed as "Error on Page" instead of "Done". On click of it, following error messages can be seen in the javascript error message pop-up. Unexpected ajax response was received from the Server This may be caused by one of the following reasons: Server.Transfer Custom Http handler Incorrect loading of an "Ajaxified" user control Verify that you don't get a server side exception or any other undesired behavior, by setting the EnableAJAX property to false. not possible to add the screen shots, else wd have done. All the pages and user controls in my application follow the same ajax panel structure and loading.

    L 1 Reply Last reply
    0
    • M Member 565451

      My asp.net application is ajax enabled. After the page is loaded completely, if there is no user activity for sometime, the screen stops responding until i close the browser and open it again. In some of the screens, on Session timeout (i have tested it by keeping the screens idle for 20 minutes), the user is redirected to the login page. But on few screens, the redirect does not happen. The screen stands still and no buttons links on the page respond to any mouse or keyboard event. At this point, if i press the "Refresh" button on the browser address bar, then i get logged out of the application and redirected to the login page. On the browser Status bar (bottom left hand corner of the browser window) a javascript error message displayed as "Error on Page" instead of "Done". On click of it, following error messages can be seen in the javascript error message pop-up. Unexpected ajax response was received from the Server This may be caused by one of the following reasons: Server.Transfer Custom Http handler Incorrect loading of an "Ajaxified" user control Verify that you don't get a server side exception or any other undesired behavior, by setting the EnableAJAX property to false. not possible to add the screen shots, else wd have done. All the pages and user controls in my application follow the same ajax panel structure and loading.

      L Offline
      L Offline
      led mike
      wrote on last edited by
      #2

      Member 565451 wrote:

      My asp.net application is ajax enabled.

      Sorry to hear that, also your message is cross posted into another forum. That is discouraged here at Code Project.

      M 1 Reply Last reply
      0
      • L led mike

        Member 565451 wrote:

        My asp.net application is ajax enabled.

        Sorry to hear that, also your message is cross posted into another forum. That is discouraged here at Code Project.

        M Offline
        M Offline
        Member 565451
        wrote on last edited by
        #3

        Hi Mike, well i was not aware of this. i am trying to find out the solution for a long time now, so posted it in Web development forum as well to get some help.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups