Today has been a buggy day at work.
First, I tried again to get Java Web Start working on an application. It launches JWS, but then my application hangs leaving a javaw.exe process in the background. From some searching on the forum, it seems that other people are having the same problem. In fact, it may be due to a bug in Java Web Start, which means there’s nothing I can do about it.
Next, I’m having a problem with Selenium tests on a PHP application which uses sessions. It took me a while to figure out why my test user would get logged out immediately without any error messages when running tests with the Test Runner instead of the Selenium IDE. I have ini_set(‘session.referer_check’, ‘stuffhere’); set to improve security a bit, but when I run the test suite through the Test Runner, $_SERVER[‘HTTP_REFERER’] is set to the Selenium Test Runner’s URL, which obviously fails the referrer check. And since errors were being pushed to a session that was immediately lost when the referrer check failed, I wasn’t seeing any errors. So what’s my solution? Well, for now I’ll have to disable the referrer check. It can be spoofed anyway… That means changing a fair amount of apps though… bleh.
I was having a similar problem (http://forums.openqa.org/thread.jspa?messageID=32646羆) but it seems to be only an issue when using firefox to test. When I run my tests through IE the http_referer is set correctly.