i am developing a website that alters its content depending on what visitors choose to read (clicks they make)

in the most simple version, i'd like a site that offers articles about both toy soldiers (content for boys) and barbies (content for girls). Upon clicking on a "boy" article, a anonymous user shoud be given the role boy, and not be able to see the content ment for the role girl. Once in a specific role, the visitor cannot go back to the initial page with all the content.

in other words, i'd like anonymous users to "log in" to a role without them noticing. Once in a role this is logged (cookie or IPlog), so that the user can not go back to the point where they chose their role. The selection for the specific role can be made with the first click they do on the front site.

I thought i had the awnser when i found the "role referral" module. I cannot get this module to assign roles to anonymous users based on links from inside the site. Is there a trick for this, or are there better solutions than a role referral module?

many thanks in advance,

Hugo
h.p.schuitemaker@gmail.com