I would suggest storing your user's favorites in cookies.
The size of each cookie is limited (about 4 K) depending on
the browser, but you are allowed up to 20 of them. You could store
a lot of URLs using several cookies. Internet cookies can be
fragile (too many, and they start getting deleted), and have a
'shelf life' of three years (unless updated).