Perl - problem with sleep();
Posted on 2003-11-21
The first is the main script that runs the program.
The second is the session script.
The session script is simple as it writes a 1 to a file, sleep(seconds go here*more seconds); then wakes up and writes a 0 to the file to be read by the main program.
The problem is: the first time the program runs, it works great. If I try and re-login though, the browser (IE) hangs till the session script wakes up and writes a 0 to the file... if I close all browser windows it will work fine again... any ideas would be much appreciated. I would post code, but there's just too much...
Thanks in advance for any help...