Hi Wizz, sorry that I do not accept your CD player example. First the PC isnt powerd down, it is going into standby. Thus also the browser is not closed. Thus no onUnload happens.
The point is that rich clients will resume trying to do networking and as soon networking is up again as well will successfuly handle this. So actually it might be only a problem doing correct error handling for the split seconds the network might be down while the app, here our javascript is still running. Anyone understanding my use case? Or more answers like: "you cant drive your car with no fuel" .: Fabian -----Ursprüngliche Nachricht----- Von: [email protected] Gesendet: 25.01.08 12:40:32 An: "Ruby on Rails: Spinoffs" <[email protected]> Betreff: [Rails-spinoffs] Re: resume periodical executer after PC standby? That isn't possible. Javascript is a client side scripting language, so if the browser is closed (or in this case the entire pc is shutdown) the scripts you were running stop. To take a simple example: You're trying to play a CD without a cd- player. What you could try though is saving the current variables to the server on exiting the page (onUnload) and using those when the user logs back in. But there is no way to know if a pc went in standby or just powered off. Greetz, Wizz On Jan 25, 9:56 am, Fabian Lange <[EMAIL PROTECTED]> wrote: > Hi, > I have a customer request, with which I feel unable to deal with. > The Prototype+Scripty application I have does lots of its work via periodical > executers. > Now the customer wants that the application still does it job after standby > of the computer. > I am really lost where to start investigating if it is possible at all. It > seems for me that the javascript engine stops and is not restarted, so I cant > do any javascript event tricks. > > I am open for any good ideas :-) > > .: Fabian > _____________________________________________________________________ > Unbegrenzter Speicherplatz für Ihr E-Mail Postfach? Jetzt > aktivieren!http://www.digitaledienste.web.de/freemail/club/lp/?lp=7 _______________________________________________________________________ Jetzt neu! Schützen Sie Ihren PC mit McAfee und WEB.DE. 30 Tage kostenlos testen. http://www.pc-sicherheit.web.de/startseite/?mc=022220 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" 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/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
