I have a script and I want to add login sessions to it but I don't want to use cookies. I have already programmed a way to do this but the problem I am having is as follows.
When the user logs in 2 popup windows are generated via javascript.
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...
Start Free Trial