Tuesday 26 October 2010 11:09:36 pm
Hi Nicolas, No the view is not run each time the page is requested. I did two simple operators, one to check if an email has been set in session and another one to redirect to the email form view. In the restricted access page template, I call the first operator and if no email has been set, I call the second operator so the user is redirected to the email form. Once the user filled his email, this email is put in session (a cookie is even created), and so next time I'll want to acces the page, the email form won't be displayed. I think it's not provocating severe user-experience damages... what do you think?
|