Seb777
(Seb)
May 1, 2022, 8:11am
1
Hello,
When I add codeless logic at page enter to redirect notAuthenticatedUser to login page. Is the code executed on client side or server side ?
Is there another way to manage page security? A kind of security filter at backend level to define the pages that a user role has the right to access otherwise the user is redirected.
Thanks in advance for your answer.
Hello @Seb777
Yes, the handler is executed each time when you open the page.
And yes, there is another approach:
create a custom function and use the function on each page where you want to verify whether a user logged in or not
in the function you can just check existing Current User
, if you do not need to check a specific role
Regards, Vlad
Seb777
(Seb)
May 3, 2022, 6:14pm
3
Ok thanks for answering @vladimir-upirov !