This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Cookie value" Watch "Cookie value" New topic
Author

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.
 
Consider Paul's rocket mass heater.
 
subject: Cookie value
 
Similar Threads
null
Is transfer object pattern the same as value object pattern?
CachedRowSet
most common patterns
Process Object --- Design Pattern ???