Introduction
This is an example that illustrates the way to carry out access verification entirely under the control of the server JavaScript. In this example browser authentication is not used, instead session data is used to indicate a "logged in" state. A facility to logout is also provided.
You may login by use of any new user you created in the 'user' community in example 1. Alternatively, you may use the following:
user = guest
password=password.
Example of programmatic authentication.
Before starting you must login:
Login
Logout
These pages are only available upon loggin in:
Members Document 1
Members Document 2
Members Document 3
These pages are viewable by anyone:
Public Document 1
Public Document 2
Public Document 3