Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem with Sharing cookie with special characters between IIS ASP .Net App and JBoss 5.1

 
Prince Manchanda
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am facing a problem of truncation while reading a cookie that contains ':' as its value. The details of the same are as follows:

The cookie is set in a ASP.Net Page running on IIS 6.1 . The code snippet for the same



When this cookies is retrieved in a Java Application running on JBoss 5.1 (or even Tomcat), the value gets truncated from : that is, I get the value as 'http' rather than the http://www.google.com.
Both JBoss and IIS are running on different machines in the same domain. However, if similar cookie is set on Tomcat 7 and successfully retrieved on JBoss 5.1.
So, on face value it looks like a IIS specific issue.
Any thoughts about the reason of the issue and how to fix this.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic