# "Unknown Session" using C2DS

**URL:** <https://forums.collective2.com/t/unknown-session-using-c2ds/6247>\
**Category:** C2\
**Created:** [April 12, 2010, 8:27am UTC](https://forums.collective2.com/t/unknown-session-using-c2ds/6247 "2010-04-12T08:27:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![WD](https://avatars.discourse-cdn.com/v4/letter/w/7bcc69/32.png) [@WD](https://forums.collective2.com/u/WD)\
**Post date:** [April 12, 2010, 8:27am UTC](https://forums.collective2.com/t/unknown-session-using-c2ds/6247/1 "2010-04-12T08:27:14Z")

</div>

Hi,  
  
  
  
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 ?  
  
  
  
Best regards,  
  
Wouter
