B4J Question [ABMaterial] Just one page need authorization

jinyistudio

Well-Known Member
Licensed User
Longtime User
Hi

My project have lots of page but just "setting page" need authorization. How to implement this function !?
 
Last edited:

MichalK73

Well-Known Member
Licensed User
Longtime User
I did the following. I have set the attribute in the 'isLogin' session (I am creating such an attribute). During Page_connect I check if the isLogin in the session is true if I do not open ModalSheet with login. I check the user database.
If you do not have permissions then it executes another part of the code and how is it ok the attribute in the isLogin session is set to true and I run code that can be seen.
 
Upvote 0
Top