aspose file tools*
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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Where to store these values?