I'm developing a website where users access the content without registration but it still needs to have a favorites system for the elements on the web. Right now I have implemented a system where i can add items to a "favorites" and the node id for every item is saved on a cookie. Is there a way to filter the items that are shown by a view page using this node ids saved on the cookies?
I thought that it can be done by altering the query sent by the view or by aplying a filter in some point of the process where i check whether the element returned by the view corresponds with the node id saved in the cookie.
Is any of this options feasible? Is there a simpler way to focus this problem?