Is there a function which I can login with it in ASP.Net 2.0?


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 5 of 5

Thread: Is there a function which I can login with it in ASP.Net 2.0?

  1. #1
    Join Date
    Aug 2005
    Posts
    37

    Is there a function which I can login with it in ASP.Net 2.0?

    Is there a function which I can login with it in ASP.Net 2.0?

    Normally I use the Login control to login system, is there a function which I can login with it.
    If so , only two arguments (uersname and password) is needed.

  2. #2
    Join Date
    Dec 2003
    Posts
    2,750
    Are you authenticating against the domain? I'm assuming that you're using Forms based authentication.

    Once you start handling domain user ID and passwords in code you're opening a can of worms with respect to security. Not only that but you have to be able to handle password expirations, account lockouts, etc. in code when a login fails.
    Paul
    ~~~~
    Microsoft MVP (Visual Basic)

  3. #3
    Join Date
    Aug 2005
    Posts
    37
    I use Membership provider's ValidateUser method (ASPNETDB.MDB), I'm a beginner, could you give me a sample? Thanks!
    And more, where can I find source code of Login control? maybe I may analyse it.

  4. #4
    Join Date
    Dec 2003
    Posts
    2,750
    You should be able to find information in the following articles:

    How To: Use Membership in ASP.NET 2.0

    http://developer.com/net/asp/article.php/3431381
    Paul
    ~~~~
    Microsoft MVP (Visual Basic)

  5. #5
    Join Date
    Aug 2005
    Posts
    37

Similar Threads

  1. Getting a GUI to run
    By Eric in forum Java
    Replies: 4
    Last Post: 04-14-2006, 09:09 AM
  2. Packed Data(Comp-3, etc)
    By Marcos in forum VB Classic
    Replies: 3
    Last Post: 01-25-2006, 11:18 AM
  3. Getting a list of files into an array
    By Scott in forum VB Classic
    Replies: 12
    Last Post: 12-21-2001, 04:21 PM
  4. Getting a GUI to function
    By Eric in forum Java
    Replies: 1
    Last Post: 11-27-2001, 06:53 AM
  5. Trying to print a PDF File from VB
    By Kunal Sharma in forum VB Classic
    Replies: 2
    Last Post: 04-25-2000, 03:45 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center