Save User Data

This example uses Orbiter, JavaScript, and HTML to save user data to a server-side data source. The data source, in this case, is Union Server's built-in database, Apache Derby. However, in a production environment, the data source could be customized to use any backend system, such as MySQL or a web service.

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

[Edit Live on JSFiddle] [Download]

This application demonstrates the following Orbiter features:

  • Creating a user account
  • Logging in
  • Logging off
  • Saving a user account attribute
  • Retrieving a user account attribute

The Code

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