This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Servlets and the fly likes Cookies Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Servlets
Bookmark "Cookies" Watch "Cookies" New topic
Author

Cookies

Steve Chernyak
Ranch Hand

Joined: Oct 19, 2000
Posts: 113
Can anyone please tell me whether it is possible to store a collection of name value pairs in one cookie.
Thanks
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12998
    
    5
Each cookie has a single name and a single value. However, since the value string can be pretty long, you could invent your own syntax to pack it full of name/value pairs.
Bill
Steve Chernyak
Ranch Hand

Joined: Oct 19, 2000
Posts: 113
Tnahks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Cookies
 
It's not a secret anymore!