MySQLi Restrict Access To Page

Restrict Access To Page will deny access to any page it is applied to unless the Authentication variable set by the Log In User Server Behavior exists from a successful login.


Restrict Access To Page

  1. Use the Trigger select list and associated Trigger Dynamic Data button to select the event in which access restriction will occur..
    • Any Form Post: Any form posted to the current page that the server behavior is applied to triggers the data insert
    • Before Page Load: The data insert is triggered when the current page that the server behavior is applied to is loaded.
    • On Form Submit: Any form submitted on the same page that the server behavior is applied to trigger the data insert.
    • Button [button name] pressed: The server behavior is triggered if the specified button on the page is clicked.
    • Dynamic Data: Server-side code can be specified in the dynamic data interface (accessed through the lightning bolt) to create a trigger specific to your needs if one in the list does not meet your requirements
  2. Use the Authentication field to select the unique login identifier, or "Log In Name" - used in the Log In User interface. Once set, the page will be restricted to all access attempts from a session that doesn't have the specified Authentication value set.

After clicking OK, the Log Out User User Server Behavior will be applied to the current page. Changes can be made by editing the MySQLi Restrict Access To Page Server Behavior from the Server Behaviors panel.