Login users

Last post 06-14-2005, 4:38 PM by Adam. 1 replies.
Sort Posts: Previous Next
  •  06-12-2005, 11:22 PM 7519

    Login users

    I have runing application(VB) with login page how can i integrate it with cutechat - is there any tutorial ?. Users are stored in sql database table: users
    UNAME | UPASS | EMAIL | ROLE |

    Login code :
    Dim ds AsNew DataSet
    SqlSelectCommand1.Parameters("@UNAME").Value = txtUNAME.Text
    SqlSelectCommand1.Parameters("@UPASS").Value = txtUPASS.Text
    daU.Fill(ds)
    If ds.Tables(0).Rows.Count = 1 Then
    'user ok
    FormsAuthentication.RedirectFromLoginPage(ds.Tables(0).Rows(0)("UNAME"), False)
    Else
    'bad login
    EndIf
  •  06-14-2005, 4:38 PM 7599 in reply to 7519

    Re: Login users

    Please check the document in the developer's guide:

    How can I hook CuteChat with my existing login system?  

    CuteChat was built with the idea of extensibility in mind.

    CuteChat implements what is commonly known as a "Provider Model" design pattern—which will be used throughout the ASP.NET 2.0 framework. 

    A "Provider Model" design pattern separates the application logic for the service from its underlying storage repository by introducing a "provider" software component in between.

    This "provider" component exposes a standard interface to the service logic, but allows developers to implement the provider component on top of a repository of their choice.
    By creating custom providers, developers can easily write their own data and business logic layers and simply plug it into existing user management system and reuse the same set of user management system.
    The CuteChat 1.0 ships with seven pre-built providers...
     
    Keep me posted

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

View as RSS news feed in XML