This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes JSF and the fly likes Where to store these values? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » JSF
Bookmark "Where to store these values?" Watch "Where to store these values?" New topic
Author

Where to store these values?

Hussein Baghdadi
clojure forum advocate
Bartender

Joined: Nov 08, 2003
Posts: 3479

Hi.
In my all views pages, I want to render a list of the last five viewed items no matter if the user is guest or logged in user (you know, like Amazon).
Where to store those five items (I'm thinking to store title and an id for each item)?
They could be stored in a session context but it looks to me overkill (may be the visitor will view two items and then closes his browser, why to wait for session time out)?
Do you suggest any technique?
Thanks for help and time.
 
GeeCON Prague 2014
 
subject: Where to store these values?