How to create a block that shows recently viewed products/nodes for users? I want to make a block that shows last viewed products for users (logged and anonymous), using Drupal 7 with Ubercart 3.

First, I tried to use the Recently read module. I don't why, but it's not working! Any changing in admin options (number of showing products and type of nodes) doesn't have any effect. And this block always shows ALL of my pages and products for all users.

Then I tried to do this using modules Flag + Rules + Session API. I found only a manual for Drupal 6.  But in section "Select the condition to add - Check a truth value" and Views configure it's not similar to Drupal 7.

Can anybody help me to implement this functionality? Maybe you know, why the Recently read module seems to not be working in my case, or maybe it causes some conflict? Or how to configure modules Flag + Rules in Drupal 7?
recently_read seems to have evolved
or do it with flag module (although not described in the linked tutorial, flag can also handle anonymous users)