requestTokenScript.as

Summary
requestTokenScript.as
Variables
tokenHolds the server issued token that is sent along with a file upload.
Functions
requestTokenRequests a token from the server to assist in identifying the upload since session information isn’t communicated on file upload.
requestTokenHandlerHandles the return of the HTTPService request for the token, setting the token variable.

Variables

token

private var token: String

Holds the server issued token that is sent along with a file upload.

Functions

requestToken

private function requestToken() : void

Requests a token from the server to assist in identifying the upload since session information isn’t communicated on file upload.

See Also

requestTokenHandler

requestTokenHandler

private function requestTokenHandler() : void

Handles the return of the HTTPService request for the token, setting the token variable.

See Also

requestToken token

private var token: String
Holds the server issued token that is sent along with a file upload.
private function requestToken() : void
Requests a token from the server to assist in identifying the upload since session information isn’t communicated on file upload.
private function requestTokenHandler() : void
Handles the return of the HTTPService request for the token, setting the token variable.