123 Flash Chat Server Software
User Manual
Home
  • Introduction
  • Installation
  • Admin Panel
  • Website Integration
  • Database Integration
  • Auth-URL Integration
  • Website Theme/ Interface Integration
  • Chat Data Integration
  • User Profile Integration
  • For Developers
  • Configure Wowza Media Server

Home HomePre page Database Integration | Website Theme/ Interface Integration Next page

Auth-URL Integration


The whole scenario is that the chat server will communicate with the external database through a dynamic application, like PHP, ASP, ASP.net or JSP. The auth-url is the abbreviation of authentication URL.

You are strongly recommended to integrate with this way as it is simple and stable. It requires you to be familiar with your own database, and capable of coding dynamic webpage. The sample of the auth-url dynamic webpage is available, simply and you can send email to support@123flashchat.com to request.

integrate_ext_database

Explicitly, the Auth-URL application will perform as the communicating medium of the chat server and the database, i.e.: in fact, when a user logs on a chat server, the server won't connect to the user database directly, instead, it will send the username and password to the auth-url. Then the auth-url requests the database to authenticate the user. Finally, the auth-url will return the feedback to the chat server in a predefined way, whether approved or declined.

Auth URL Output:
(What does each number means in terms of the authentication result.)
0 - login successfully;
1 - wrong password;
2 - the username can't be used;
3 - login error;
4 - username does not exist;
5 - successfully log in as an administrator;

Note: Dealing with guest login, the auth-url will get no password and fail to find any username in the database, in that case, auth-url should respond with 4 to ensure the user to enter chat room smoothly. If respond 0, 1 or 5, the chat server will decide the username is already taken and decline the user's connection effort.

To learn more about the topic, please click here.

Related links:

Website Integration


Home HomePre page Database Integration | Website Theme/ Interface Integration Next page

Copyright @2001-2011 TopCMM Software Corp.