Home All Groups Group Topic Archive Search About

Login Control used with existing SQL DB

Author
28 Dec 2005 7:57 PM
paulmac106
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 aspnetdb database 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,
Paul

Author
28 Dec 2005 9:19 PM
Cowboy (Gregory A. Beamer) - MVP
Membership uses a provider model. By default, it ships with providers that
run against SQL Server and Access with a database using its own schema. If
you want to code your own provider, you have that option. As for information,
search the help files (or google) for the membership provider model.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

***************************
Think Outside the Box!
***************************


Show quote
"paulmac106" 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 aspnetdb database 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,
> Paul
>
>

AddThis Social Bookmark Button