Very, very basic help needed!

Last post 02-20-2007 10:30 AM by deblendewim. 1 replies.

Sort Posts:

  • Very, very basic help needed!

    02-20-2007, 2:03 AM
    • Loading...
    • smartsl
    • Joined on 12-15-2006, 4:21 PM
    • Posts 41

    Hi,

    I am very new to .Net and am trying to learn the ropes but everytime I try I get stumped. I am trying to do 2 things: 1) log a user in using an remote SQL 2000 server, 2) set 5 diffrent session variables once the username/password has been verified from the database.

    My problem is two fold; I need a basic walk-through on how to configure the login control to work (or an effective way to log a user in), and I also need to learn how to retrieve data from the database upon verification of usrname/password and set certain fields from the database as session variables.

    Can someone please assist me or point me in to the right direction?

    I'm using VB.

     

  • Re: Very, very basic help needed!

    02-20-2007, 10:30 AM
    • Loading...
    • deblendewim
    • Joined on 12-20-2006, 11:32 AM
    • Antwerp, Belgium
    • Posts 943

    I hope you're working with VS2005: Then this post is a good summary of ASP.NET 2.0 membership, roles and forms authentication. http://weblogs.asp.net/scottgu/archive/2006/02/24/438953.aspx 

    Scroll down till you see this section "Authentication and Authorization". Here you'll find links who might be useful to you: "how to: Use Forms Authentication with SQL Server 2000 (with ASP.NET 2.0)"

     In order to work with sql membership providers, you need to set up the asp.net2.0 application services database. More info about that can be found over here: http://weblogs.asp.net/scottgu/archive/2005/08/25/423703.aspx

    I know it are a lot of links an reading material but all the articles are very nice and reading them will make this whole security concept more clearly to you!!

     Good luck ;)

    Wim

     

    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Page 1 of 1 (2 items)
Microsoft Communities
Page view counter