File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes Cookie problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Cookie problem" Watch "Cookie problem" New topic

Cookie problem

Niral Trivedi
Ranch Hand

Joined: Nov 26, 2001
Posts: 46
Hi All,

I am having problem here reading cookie values. I am setting cookie with some information which is little extra but for sure not more than 4KB in size. But still, when I read back that value, it is getting truncated.

I've tried to find a reason for that but no luck. Is there any constraint that it should not be more than 255 chars? I seriously doubut it.

Any idea why this is happening?


With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Cookie problem
It's not a secret anymore!