This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Where to store these values?

 
Hussein Baghdadi
clojure forum advocate
Bartender
Posts: 3479
Clojure Mac Objective C
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic