The user will be in this role when he makes his first request, the very first time he visits the website. Once it has been checked it sets a cookie that causes it never to be true again – until the cookie has been cleared at least. No parameters.
Here is how you would register it in <virtualRoles> in web.config:
<add name="FirstTime" type="EPiServer.Research.VirtualRoles.FirstTimeVisitor, VirtualRolesSamplePack"/>

Last edited Nov 2, 2009 at 6:51 PM by AllanThraen, version 1

Comments

No comments yet.