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 cookies and storing data 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 "cookies and storing data" Watch "cookies and storing data" New topic
Author

cookies and storing data

Medha kamat
Greenhorn

Joined: Aug 22, 2002
Posts: 21
Hi
i want to persist some data between sessions.I thaught i will use cookies but may be it's not a good idea to store such data (actually it's a java object that i want to persist)with cookies.
So what is a better way of storing such data?
All suggestions welcome!
Regards
Medha
Scott Duncan
Ranch Hand

Joined: Nov 01, 2002
Posts: 363
A database or you can serialize the object to a file on the server.


No more rhymes! I mean it!<br /> <br />Does anybody want a peanut?
 
jQuery in Action, 2nd edition
 
subject: cookies and storing data
 
Similar Threads
Persisting shopping cart values.
Implementing previous searches
Best way
Can't validate session
Storing objects in cookies