How can I use a username / password that i've created in a sql database and carry that throughout my asp.net (vb) application
Posted on 2007-11-18
I am running into the following problem with my asp.net (vb) app:
I have created a SQL Database for my one applictaion that i'm working on, this database houses all of the login information for this particluar application ( name's, info, and then a username / password tied to them). I have created a logon page for my asp.net application. from that login page I want to be able to capture the USERNAME and PASSWORD which is entered to get into the application and have it attched to the user when they are using the application.
I log into the application at the logon page (which is the first screen that appears). my logon name is rboyle. Once I am redirected to the next page I want to be able to reference that it is rboyle that is logged into the application so that I can reference that on particular parameter and pull up different information from the database based off it. How can I do this? If anyone has any ideas / suggestions / and / or any sample code that would be great.