Oncord includes a number of features for allowing contact login and content restriction.
The following article shows a typical implementation of a login form on a Oncord powered website.
Determining Whether a User is Logged in
The <ss:logic:if> tag allows you to check whether a user is currently logged into the website. This will allow us to display a welcome message if the user is logged into the website, and a login form if the user is not currently logged in.
The Login Form
The following code is a common implementation of a login form, wrapped in the above <ss:logic:if> tag to determine whether a user is logged in: