Thursday, March 29, 2012

Login Control used with existing database

Hi,

I'm creating my first 2.0 web application. I want to use the login
control to validate users using my existing SQL 2000 database (using
email address and password)

I can't find a tutuorial to do this...they always seem to want me to
create this new aspnet db and use roles and memberships and the like.

Can I simply just use my own database? I want them to login and then
fill in a session variable with their "id code", and I'll be good to
go.

thanks,
PaulOn 28 Dec 2005 08:54:35 -0800, "paulmac106" <paulmac106@.hotmail.com> wrote:

Hi,

I'm creating my first 2.0 web application. I want to use the login
control to validate users using my existing SQL 2000 database (using
email address and password)

I can't find a tutuorial to do this...they always seem to want me to
create this new aspnet db and use roles and memberships and the like.

Can I simply just use my own database? I want them to login and then
fill in a session variable with their "id code", and I'll be good to
go.

The login control operates through a Membership Provider, which uses tables in a data store, such as
SQL Server. However, it isn't designed to inter operate with SQL Server security.

Paul
~~~~
Microsoft MVP (Visual Basic)

0 comments:

Post a Comment