Account Login

This example uses Orbiter, JavaScript, and HTML to create and then login to a persistent user account. User accounts are built-in to Union, and come ready to use with no special configuration required. With a user account, a user can store permanent information such as a birthday, a shipping address, or a high score.

This example is also available for Reactor (Adobe Flash framework).

[Edit Live on JSFiddle] [Download]

The account login application demonstrates the following Orbiter features:

  • Creating a user account
  • Logging in
  • Handling the result of an account-creation attempt
  • Handling the result of an account-login attempt

The Code

Here is the code for the preceding example. Click the "+" button to edit it live on JSFiddle.