{"id":11,"date":"2007-04-26T15:10:50","date_gmt":"2007-04-26T21:10:50","guid":{"rendered":"http:\/\/sha.nnoncarey.com\/blog\/archives\/11"},"modified":"2007-04-26T15:10:50","modified_gmt":"2007-04-26T21:10:50","slug":"todays-annoyances","status":"publish","type":"post","link":"https:\/\/sha.nnoncarey.com\/blog\/archives\/11","title":{"rendered":"Today&#8217;s Annoyances"},"content":{"rendered":"<p>Today has been a buggy day at work.<\/p>\n<p>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&#8217;s nothing I can do about it.<\/p>\n<p>Next, I&#8217;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(&#8216;session.referer_check&#8217;, &#8216;stuffhere&#8217;); set to improve security a bit, but when I run the test suite through the Test Runner, $_SERVER[&#8216;HTTP_REFERER&#8217;] is set to the Selenium Test Runner&#8217;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&#8217;t seeing any errors.  So what&#8217;s my solution?  Well, for now I&#8217;ll have to disable the referrer check.  It can be spoofed anyway&#8230;  That means changing a fair amount of apps though&#8230; bleh.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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 &hellip; <a href=\"https:\/\/sha.nnoncarey.com\/blog\/archives\/11\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Today&#8217;s Annoyances&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-11","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/sha.nnoncarey.com\/blog\/wp-json\/wp\/v2\/posts\/11","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sha.nnoncarey.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sha.nnoncarey.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sha.nnoncarey.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sha.nnoncarey.com\/blog\/wp-json\/wp\/v2\/comments?post=11"}],"version-history":[{"count":0,"href":"https:\/\/sha.nnoncarey.com\/blog\/wp-json\/wp\/v2\/posts\/11\/revisions"}],"wp:attachment":[{"href":"https:\/\/sha.nnoncarey.com\/blog\/wp-json\/wp\/v2\/media?parent=11"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sha.nnoncarey.com\/blog\/wp-json\/wp\/v2\/categories?post=11"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sha.nnoncarey.com\/blog\/wp-json\/wp\/v2\/tags?post=11"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}