Two-way Strong ¦ Sign In ¦ New User

Application Programming Interface (API)



User Account


Test Environment

Web Application



Session Check

Session Check (Static)


Logout (Static)

Mobile Application

Mobile Login Check

Key Data Fields

Response Messages

Demo Examples

Powered By (Credit)

Technical Support


Logout Function (Static)

The software developer can create an HTML-based logout function in their secured Web page. You would add a logout button and a form in your secured Web page. Required input values are your API key and two absolute URL addresses to tell Two-way Strong where you want the user to go on success and failure. The Session ID is optional and may be left blank.

The form contains the following four input hidden fields:

<input type="hidden" name="apiKey" value="INSERT API KEY" />
<input type="hidden" name="sessionID" value="" />
<input type="hidden" name="returnLoginPath" value="INSERT USER LOGIN URL" />
<input type="hidden" name="returnDestPath" value="INSERT DESTINATION URL" />

The form action attribute value is the URL of the logout function.

Use this URL address to connect to the Test Environment:

Use this URL address to connect to the Live Environment:

Download the complete source code.