How to separate login form from an authenticated DataPage?

 

Question:

How to separate login form from an authenticated DataPage?

 

Answer:

You want a small login form to appear somewhere on your website, but the DataPage behind it to be on a separate page. Once a user logs in, they should be redirected into the real DataPage.

Take the steps below to create this behavior:

1. Create an HTML DataPage in the same authenticated folder where your DataPage is.

2. Paste the following code into the text area of the HTML DataPage:

<script language="JavaScript"> window.location="https://URL";</script>

3. Replace https://URL with the URL of the web page where you have deployed your authenticated destination DataPage where you want the user be redirected to.

4. Deploy this HTML DataPage where you want the login form to appear.

For more information about creating password-protected apps go to: http://howto.caspio.com/authentication/web-user-authentication/.