How to implement a login form on a home page

With this scenario, the login form is inserted in the site home page.

To implement this scenario:

1) Add the code below to your home page file:

<FORM METHOD="POST" ACTION="/dcmd/iis/0/logon.htm">
Login<INPUT type=text name="Username" value="">
Password<INPUT type=password name="Password" value="">
<INPUT TYPE="SUBMIT">
 

2) Define the protected area home page.

The client will be redirected towards this page after a successful authentication.

  • Launch the DAF Configuration Tool
  • Open the Filter Properties for you site
  • Choose Tab [HTML Login Form]
  • Select [always forward to the Protected area Home page]
  • Enter Protected area Home page address in field [Protected area Home page Url]