AjaxLongResponse
Peter McGregor <[email protected]>
| Newsgroups | gmane.comp.web.webobjects.wonder-disc |
|---|---|
| Message-ID | <[email protected]> |
Hello I have an application which uses an AjaxLongResponse Page to talk to a webserver which then runs ProcessBuilder to spawn a thread which then runs an interactive fortran program. In effect the browser user runs an interactive fortran program on the server. Unfortunately AjaxLongResponse polls the server every second, and for some reason the webobjects/tomcat WebServer will not time out the instance after my 60 minutes timeout in web.xml Every poll sends about 4KB worth of data and if the user minimises their longresponse web page and stays logged in, many gigabytes of data are sent to/from the server. I am attempting to find a way around this problem and have come up with the idea of some javascript code which runs in the background and times out the user if there has been no activity for a certain period. A banking web site that I use does this. I then wondered if project wonder has some javascript code that does this. I have looked at the wonder ajax examples components looking for some code, but nothing leaps out at me. I was wondering if someone had some suggestions. Thank you Peter McGregor ------------------------------------------------------------------------------ Got visibility? Most devs has no idea what their production app looks like. Find out how fast your code is with AppDynamics Lite. http://ad.doubleclick.net/clk;262219671;13503038;y? http://info.appdynamics.com/FreeJavaPerformanceDownload.html