Hi,
I'm new to asp.net 2.0 and I'm working on creating a web site that allows
user to log into the web site and view information pertaining to them such as
accounts, sales, and other information they are assoicated with. I've been
reading about the membershipAPI and the Logon Controls, which looks like
they'll work, but I have exsiting database (SQL) that already has usernames
and passwords in it from a windows application. So for the web, how can I
create a logon page, validate the user and take show data based on their ID?
Also I'm looking into using Forms Auth, so how can I allow the user to view
all the pages in the web site once they log in?
If someone can point to some examples of this or show some code snippets
that would be great. this is my first web app i'm doing that is allowing
users to log in and i'm not sure how to go about creating it correctly. 5 1182
Check out Scott Guthrie's blog. It is chock full of answers to your questions. http://weblogs.asp.net/scottgu/archi...24/438953.aspx
--
-Demetri
"Tom" wrote: Hi, I'm new to asp.net 2.0 and I'm working on creating a web site that allows user to log into the web site and view information pertaining to them such as accounts, sales, and other information they are assoicated with. I've been reading about the membershipAPI and the Logon Controls, which looks like they'll work, but I have exsiting database (SQL) that already has usernames and passwords in it from a windows application. So for the web, how can I create a logon page, validate the user and take show data based on their ID? Also I'm looking into using Forms Auth, so how can I allow the user to view all the pages in the web site once they log in? If someone can point to some examples of this or show some code snippets that would be great. this is my first web app i'm doing that is allowing users to log in and i'm not sure how to go about creating it correctly.
I was looking at that actually, but I don't see were I can use my SQL
database with the 2.0 logon control to validate the users.
I'm new to the 2.0 and web development, do you have some examples of this
using SQL db, but not the aspuser database?
"Demetri" <De*****@discussions.microsoft.com> wrote in message
news:8C**********************************@microsof t.com... Check out Scott Guthrie's blog. It is chock full of answers to your questions.
http://weblogs.asp.net/scottgu/archi...24/438953.aspx
-- -Demetri
"Tom" wrote:
Hi, I'm new to asp.net 2.0 and I'm working on creating a web site that allows user to log into the web site and view information pertaining to them such as accounts, sales, and other information they are assoicated with. I've been reading about the membershipAPI and the Logon Controls, which looks like they'll work, but I have exsiting database (SQL) that already has usernames and passwords in it from a windows application. So for the web, how can I create a logon page, validate the user and take show data based on their ID? Also I'm looking into using Forms Auth, so how can I allow the user to view all the pages in the web site once they log in? If someone can point to some examples of this or show some code snippets that would be great. this is my first web app i'm doing that is allowing users to log in and i'm not sure how to go about creating it correctly.
Check this out, it's on his site also. It will tell you how to use your sql
database instead of the one in the box. http://weblogs.asp.net/scottgu/archi...25/423703.aspx
--
-Demetri
"Tom" wrote: I was looking at that actually, but I don't see were I can use my SQL database with the 2.0 logon control to validate the users. I'm new to the 2.0 and web development, do you have some examples of this using SQL db, but not the aspuser database? "Demetri" <De*****@discussions.microsoft.com> wrote in message news:8C**********************************@microsof t.com... Check out Scott Guthrie's blog. It is chock full of answers to your questions.
http://weblogs.asp.net/scottgu/archi...24/438953.aspx
-- -Demetri
"Tom" wrote:
Hi, I'm new to asp.net 2.0 and I'm working on creating a web site that allows user to log into the web site and view information pertaining to them such as accounts, sales, and other information they are assoicated with. I've been reading about the membershipAPI and the Logon Controls, which looks like they'll work, but I have exsiting database (SQL) that already has usernames and passwords in it from a windows application. So for the web, how can I create a logon page, validate the user and take show data based on their ID? Also I'm looking into using Forms Auth, so how can I allow the user to view all the pages in the web site once they log in? If someone can point to some examples of this or show some code snippets that would be great. this is my first web app i'm doing that is allowing users to log in and i'm not sure how to go about creating it correctly.
thanks, but my current db already has a user table and a role table for all
users.
what i'm trying to figure out (if possible) is use the logon control and go
against my user and role tables in my current database. I'm trying to
prevent the creation of any user tables that already exist in my current
database schema.
"Demetri" <De*****@discussions.microsoft.com> wrote in message
news:36**********************************@microsof t.com... Check this out, it's on his site also. It will tell you how to use your sql database instead of the one in the box.
http://weblogs.asp.net/scottgu/archi...25/423703.aspx
-- -Demetri
"Tom" wrote:
I was looking at that actually, but I don't see were I can use my SQL database with the 2.0 logon control to validate the users. I'm new to the 2.0 and web development, do you have some examples of this using SQL db, but not the aspuser database? "Demetri" <De*****@discussions.microsoft.com> wrote in message news:8C**********************************@microsof t.com... > Check out Scott Guthrie's blog. It is chock full of answers to your > questions. > > http://weblogs.asp.net/scottgu/archi...24/438953.aspx > > -- > -Demetri > > > "Tom" wrote: > >> Hi, >> I'm new to asp.net 2.0 and I'm working on creating a web site that >> allows >> user to log into the web site and view information pertaining to them >> such as >> accounts, sales, and other information they are assoicated with. I've >> been >> reading about the membershipAPI and the Logon Controls, which looks >> like >> they'll work, but I have exsiting database (SQL) that already has >> usernames >> and passwords in it from a windows application. So for the web, how >> can I >> create a logon page, validate the user and take show data based on >> their >> ID? >> Also I'm looking into using Forms Auth, so how can I allow the user to >> view >> all the pages in the web site once they log in? >> If someone can point to some examples of this or show some code >> snippets >> that would be great. this is my first web app i'm doing that is >> allowing >> users to log in and i'm not sure how to go about creating it >> correctly.
Well then it seems you will need to create your own membership provider.
Take a look at: http://msdn.microsoft.com/asp.net/downloads/providers/ http://msdn.microsoft.com/asp.net/do...ovMod_Prt1.asp
--
-Demetri
"Tom" wrote: thanks, but my current db already has a user table and a role table for all users. what i'm trying to figure out (if possible) is use the logon control and go against my user and role tables in my current database. I'm trying to prevent the creation of any user tables that already exist in my current database schema.
"Demetri" <De*****@discussions.microsoft.com> wrote in message news:36**********************************@microsof t.com... Check this out, it's on his site also. It will tell you how to use your sql database instead of the one in the box.
http://weblogs.asp.net/scottgu/archi...25/423703.aspx
-- -Demetri
"Tom" wrote:
I was looking at that actually, but I don't see were I can use my SQL database with the 2.0 logon control to validate the users. I'm new to the 2.0 and web development, do you have some examples of this using SQL db, but not the aspuser database? "Demetri" <De*****@discussions.microsoft.com> wrote in message news:8C**********************************@microsof t.com... > Check out Scott Guthrie's blog. It is chock full of answers to your > questions. > > http://weblogs.asp.net/scottgu/archi...24/438953.aspx > > -- > -Demetri > > > "Tom" wrote: > >> Hi, >> I'm new to asp.net 2.0 and I'm working on creating a web site that >> allows >> user to log into the web site and view information pertaining to them >> such as >> accounts, sales, and other information they are assoicated with. I've >> been >> reading about the membershipAPI and the Logon Controls, which looks >> like >> they'll work, but I have exsiting database (SQL) that already has >> usernames >> and passwords in it from a windows application. So for the web, how >> can I >> create a logon page, validate the user and take show data based on >> their >> ID? >> Also I'm looking into using Forms Auth, so how can I allow the user to >> view >> all the pages in the web site once they log in? >> If someone can point to some examples of this or show some code >> snippets >> that would be great. this is my first web app i'm doing that is >> allowing >> users to log in and i'm not sure how to go about creating it >> correctly. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: MDOPro |
last post by:
A pal needs help on this site
greetings fellow newsgroupers. I recently found a site called Microsoft
Forums. In a very short time I became very known to the site and its an
excellent tool....
|
by: Patrick Parks |
last post by:
hi guys, i am trying to read in CD info from a file and put it into an
array, using a CD class. I have been working here for about 6-8 hours
trying to get the input file into an array. i just need...
|
by: Bob Alston |
last post by:
I am looking for any Microsoft Access based software that could be used
for a United Way agency that provides basic needs assistance - food,
clothing, financial (rent, utilities, Rx, gasoline,...
|
by: vib |
last post by:
Hi there,
I am looking at this code for quite awhile, still don't any clue why
one wants to do it this way. It is about display message through UART
or COM port. Here is the code.
The calling...
|
by: sgMuser |
last post by:
Hi,
I am not a good developer of Javascript codes. Needs this help to make
some modification to this famous free javascript from Anarchos. i am
using this in one of my webpage. What it does is,...
|
by: Xah Lee |
last post by:
Software Needs Philosophers
by Steve Yegge, 2006-04-15.
Software needs philosophers.
This thought has been nagging at me for a year now, and recently it's
been growing like a tumor. One...
|
by: hpbutterbeer |
last post by:
We have a Machine Project and my brain is currently in a clouded state. Sorry, I'm just a beginner in C Programming...
Text twist is a windows game whose main objective is to form words out of the...
|
by: casper christensen |
last post by:
Hi
I run a directory, where programs are listed based on the number of
clicks they have recieved. The program with most clicks are placed on
top and so on. Now I would like people to be apple to...
|
by: stargate03 |
last post by:
Hi there
I have a MYSQL database which has the following table
CREATE TABLE `#__content` (
`id` int(11) unsigned NOT NULL auto_increment,
`title` varchar(100) NOT NULL default '',
...
|
by: colleen1980 |
last post by:
Hi: I am trying to pull all the values from the listbox. But the ASP
code shows only the last record. Needs help
HTML
<html>
<head>
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
| |