when communicating with C2 data servers I randomly get “Unknown Session” messages. First I obtain a sessionid and then I use this to get. i.e. the trade signal history. Sometimes this works, sometimes not.
I use Java 's HttpURLConnection to connect and Digester to process the resulting XML data.
I use the correct URLs and I even sent the sessionid as a cookie.
PS. : It always works when testing it using a browser.
Any ideas ?