Hi all,
I have to store recent history of 20 pages (a key-value pair pageID and pageName) that my users visited in last few days.
As newer pages are visited, the older should get deleted from this recent history.
Hashtable as far as I know does not care about the sequence items were added to it. Queue does not have key-value pair.
I am at loss on what should I use here? Any help will be appreciated. Thanks.
Key value pair with FIFO or FILO to store recent history?
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Sam HobbsRank #108 · 20.5K reputationPosted Feb 18, 2012, 11:20 PM EST
Suthish NairRank #92 · 22.8K reputationPosted Feb 19, 2012, 10:56 AM EST