Member Login Forms

Synergy 8 includes a number of features for allowing member login and content restriction. The following article shows a typical implementation of a member login form on a Synergy 8 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 the log in fields if the user is not currently logged in and a welcome message if the user is logged into the website. 

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: