wood burning stoves*
The moose likes Servlets and the fly likes Cookie value Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Cookie value" Watch "Cookie value" New topic

Cookie value

Cameron Park
Ranch Hand

Joined: Apr 06, 2001
Posts: 371
Hi, I was wondering if the values we put in cookies need to be String. Can it be some arbitray object like the value in a HttpSession object?
Thanks a million.
Thomas Paul
mister krabs
Ranch Hand

Joined: May 05, 2000
Posts: 13974
A cookie can only hold Strings
Moderator of the JDBC Forum

Associate Instructor - Hofstra University
Amazon Top 750 reviewer - Blog - Unresolved References - Book Review Blog
Cameron Park
Ranch Hand

Joined: Apr 06, 2001
Posts: 371
Thank you very much.
It is sorta covered in the JavaRanch Style Guide.
subject: Cookie value
Similar Threads
Is transfer object pattern the same as value object pattern?
most common patterns
Process Object --- Design Pattern ???