Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Livesite fail to read the cookie completely
AlexDCHK
Hi, i am developing a feature for the livesite to read the cooke as part of the rule, but when i try to reda the cookie, the value of the cookie crop after the colon.
would this be the issue on tomcat?
Find more posts tagged with
Comments
AlexC
This sounds like a parsing issue with tomcat, the HTTP header is:
token: value\r\n
During HTTP parse, the container (tomcat in this case) splits the headers and builds HttpRequest object.
To verify it is a problem with tomcat you should check the HttpRequest object (available from RequestContext) and if it is truncated then it is on tomcat side because we cannot change that object.
Also try encoding the : as %3A (and decoding it in your code) or use something other than : (maybe _) which is safer since it is not a special character in HTTP.