
This is the Title of the Book, eMatter Edition
Copyright © 2003 O’Reilly & Associates, Inc. All rights reserved.
6
|
Chapter 1: Introduction to Flash Remoting
ActionScript for Flash MX: The Definitive Guide (O’Reilly), if you need to push
data from the server to Flash, such as in a chat application. Another option is to
use Macromedia’s Flash Communication Server MX (FlashCom) for these types
of applications.
HTTP is a stateless protocol, so each request from the Flash Player opens a new
connection to the server. The Flash Remoting gateway automatically maintains
state between requests through the use of cookies. If cookies are not available on
the client, the session state is maintained through a header in the communica-
tion packets between the Flash Player and server.
Protocols that work with HTTP, such as SSL, also work with Flash Remoting.
As shown in Figure 1-2, the client/server architecture is the same when the Flash
Player communicates with Flash Remoting via HTTPS or SSL as it is using
HTTP. Support for HTTPS allows communication between the Flash Player and
the server to be encrypted using SSL, provided that the Flash movie is delivered
to the client over an SSL connection and displayed within an SSL-enabled
browser. This gives a Flash application the same level of security that is avail-
able to the HTML application.
Figure 1-1. The Flash Player/Flash Remoting architecture
Figure 1-2. Flash Player/Flash Remoting architecture using SSL
Client
Server
Flash Player
Flash Remoting
Application
server
Client
Server
Flash Player
Flash Remoting
Application
server
SSL
Kommentare zu diesen Handbüchern