What first comes to my mind is to save skuid into cookies when a user visits a product page, and then use regular repeater to show products based on ids that you get from cookies. Your repeater WHERE will look like:
{% String.IsNullOrEmpty(Cookies["RecentlyViewed"],""," SKUID IN (" + Cookies["RecentlyViewed"]+ ")" |(identity)GlobalAdministrator%}
.
P.S. You need to create a web part that updates the cookie and add it to your product template.