Pretty common situation, I\'d wager. You have a blog or news site and you have plenty of articles or blags or whatever you call them, and you want to, at the bottom of each,
Some time ago I implemented something similiar. Maybe this idea is now outdated, but I hope it can help.
I ran a ASP 3.0 website for programming common tasks and started from this principle: user have a doubt and will stay on website as long he/she can find interesting content on that subject.
When an user arrived, I started an ASP 3.0 Session
object and recorded all user navigation, just like a linked list. At Session.OnEnd
event, I take first link, look for next link and incremented a counter column like:
So, to check related articles I just had to list top n NextPage
entities, ordered by counter column descending.