• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 13. Accessing External Data > Project: Using Remoting to Authenticate a...

Project: Using Remoting to Authenticate a User

Before you begin these exercises, you will need an Application Server like ColdFusion MX and a database like Microsoft Access, SQL Server, or SyBase. You can download a trial version of ColdFusion MX from http://www.Macromedia.com/go/coldfusionmx/. We will create and connect the database in this exercise using Microsoft Access 2000. Flash Remoting MX uses the standard HTTP protocol, so you will need a web server installed. For this exercise, Microsoft IIS5.0 web server is our server of choice. You are free to use other servers, including the stand-alone web server included with ColdFusion MX.

The first exercise has broad implications, but we are going to simplify it quite a bit. Remember that array of objects we used back in Chapter 11, “Server-Side ActionScript (SSAS)"? That example was demonstrating the Application object in SSAS using Application.onAppStart to define an array of user objects. You used that array as an authentication challenge when the user logged in. You matched a username and a password with the object properties in the array.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint