Hello everyone,
After logging in to the application using APEX accounts, I am directing the user to a page where a list of all branches they have access to (obtained from the database) will be displayed. The user will then choose which branch to enter. This way, it will be possible to filter the data only for the branch they are using. How can I store the branch they choose in a way that I can use throughout the session, similar to how APEX stores the APP_USER? I would also like to know how I can prevent the user from accessing certain pages if they are trying to manipulate the branch variable on the frontend and entering one to which they do not have access.
