Paul, This can result from a number of things:
- The process that's running your web app gets swapped out on the server. If you're running on Linux, this is less likely to happen if you have enough RAM. I've seen Windows swamp processes out so it can run the screen saver. - Your browser does not do well with long running JavaScript. Firefox, in my experience, is particularly bad about this. I have to restart Firefox almost daily. On the other hand, Google Chrome seems to be the best browser in terms of hanging out on the same page for days, weeks, at a time. I have a browser window open to http://demo.liftweb.net all the time. Other than the above-mentioned need to periodically restart Firefox, the page is always responsive. If you can put together a reproducable case of this problem, I'll look into it. Thanks, David On Mon, Feb 23, 2009 at 2:34 PM, Paul O'Rorke <[email protected]> wrote: > > Several times now when I've left a page with Ajax checkboxes and > textboxes sitting for a while, and then when I've gone to check a box > or type in a textbox, there is no response from the server. In the > console window, I see nothing unusual. > > Sometimes I used to get "could not reach server" messages in this sort > of situation but I don't seem to be getting those anymore or else I'm > just not waiting long enough for them. > > This is in a web app that I want to be able to treat like a desktop > app. It has a very long session timeout but I have not changed any > other timeouts like the ajax timeout. (Perhaps I should?) > > A workaround is just to reload the page. (I think that tends to > happen anyway sort of automatically on my iPhone but not on my > desktop.) > > > > > > -- Lift, the simply functional web framework http://liftweb.net Beginning Scala http://www.apress.com/book/view/1430219890 Follow me: http://twitter.com/dpp Git some: http://github.com/dpp --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~----------~----~----~----~------~----~------~--~---
