Technote Details :: Different redirect pages for each user level
Issue
When trying to access a page that is protected by the Restrict Access To Page server behavior for a particular level, I get redirected to the default login successful page, instead of the page I was trying to access. Also, in the previous MX Kollection, the page that the user tried to access was passed to the login page as an URL parameter. Now it is gone.
Reason
In MX Kollection 3, each user level has its own redirect pages defined in the InterAKT Control Panel: a redirect page when the login is successful and one for failure. When a page that has the Restrict Access to Page server behavior applied for a certain user level is accessed by a user with a different access level, it will be taken to the login page, and if he logs in correctly, he will be redirected to its default login successful page. If the user has the correct access level, he will be redirected to the desired page.
Solution
Define the desired pages in the InterAKT Control Panel for each user level used in the database. Also, when applying the Restrict Access to Page server behavior, specify the exact level that is allowed access. All other users that do not have the correct level, will not be able to access it, even if they log in correctly.

Also, concerning the matter of the page on which access was attempted at first, it is no longer passed as an URL parameter, but as a session variable. After login, the redirect is done automatically to the desired page, if all data match (username, password and access level).