Problem with Sharing cookie with special characters between IIS ASP .Net App and JBoss 5.1
Joined: Jun 25, 2001
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.