MACROMEDIA FLASH MEDIA SERVER 2-INSTALLING FLASH MEDIA SERVER 2 Informazioni Techniche Pagina 54

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 66
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 53
.NET Interface Description
There is ASP.net reserved interface. Through this, you can save the chat users'
information and chat history into your database on the website. And you also can check
the user's identity through the interface.
Flash Remoting technology which is based on open source library Fluorine is used for
ASP.net interface. The following is the usage description:
1) Server Environment
ASP.net + sql server
Remoting gateway interface programFluorine 2.0.7.824 for Windows
2) Server-side program
Remoting program file exists as Class file, and it is placed in "App_code" folder of Fluorine
directory.
When Flash client invoke the method of the program object on the server, the class path
must be appointed completely.
The path is related with the namespace of the class. For example, the namespace of class
HelloWorld is defined as "test", its class path changes to test HelloWorld
3) Server program format
The class files must include by the following 3 methods, the name of method and
parameter style must be the same as the following description, or the program can't work
properly.
/*
* used for login and identifying
*
* @ param username: User's name login
* @ param pass: password, if login as a guest, don't fill in the blank
* @ param isRegister: whether the user is new, if he/she is, it is true, or it is a
* blank or false
*/
public string doLogin(string username, string pass, bool isRegistrt){
/*
Please put your code here to database connection processing
*/
Vedere la pagina 53
1 2 ... 49 50 51 52 53 54 55 56 57 58 59 ... 65 66

Commenti su questo manuale

Nessun commento