in reply to Dup Nodes/Server Glitches?
I'm pretty certain that most of my duplicates arise as a result of the sequence:
Basically, PM is so slow that the screen hasn't updated at all after many seconds or even minutes.
A better solution than trying to detect duplicates, might be to ensure that the browser changes quickly. I'm not suggesting bigger servers or anything like that, but simply that something get sent back to the browser immediately, before the heavy work of processing the page is undertaken.
I don't know enough about the PM server setup (or CGI or Apache or...) to know if that is possible, but playing with a local webserver, I found that if you print the html header immediately, and then do your processing and page generation, my browser (Opera), clears the tab and sets the busy icon, which would at least prevent the button being clicked again.
Maybe index.pl could use rewrite tricks to display an intermediate page prior to getting down to the heavy stuff?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Dup Nodes/Server Glitches?
by afoken (Chancellor) on Mar 18, 2010 at 06:33 UTC | |
by BrowserUk (Patriarch) on Mar 18, 2010 at 08:47 UTC |