A newbie question
am 11.11.2007 08:04:12 von DFS
Hello,
I am new to programming for web (I know VB6). I just installed VS2005 VB
and Web Developer Express. I have a simple application to start learning.
Application is like this:
On the web page there are two text boxes for UserID and Password entry
and a Submit button. When a user enters a User ID and a password, the
program checks whether the user has access rights against some database,
Excel file or some data storage (not big) and if so opens a web page. That's
all.
I also need to be able to have means to enter the UserId and Passwords
of the clients to this database. If the UserID and password has a specific
combination, then two new fields become visible so that I can enter userID
and passwords into the database through a submit button. If the passwords
expiration time so the clients cannot enter the site after a predetermined
time would also be useful.
Any code samples, hints or guidance would be greatly appreciated.
Thank you
Athena
Re: A newbie question
am 11.11.2007 12:38:23 von Jarek Andrzejewski
On Sun, 11 Nov 2007 02:04:12 -0500, "Athena"
wrote:
> Any code samples, hints or guidance would be greatly appreciated.
www.codeproject.com - at the start.
--
pozdrawiam,
Jarek Andrzejewski
Re: A newbie question
am 12.11.2007 04:52:16 von Andrew Faust
You're in luck. Pretty much all the things you ask for are provided by
Asp.Net with virtually no programming necessary (including the Login
dialog). You want to google Membership Providers, Role Providers & the
Login Control. Using the default settings for these, Asp.Net will set up
and use a SQL Server Express database automatically to store user
information.
You should find plenty of examples.
--
Andrew Faust
andrew[at]andrewfaust.com
http://www.andrewfaust.com
"Athena" wrote in message
news:EE6192B5-CEDE-4A00-9BAF-86CEB8B409B5@microsoft.com...
> Hello,
>
> I am new to programming for web (I know VB6). I just installed VS2005
> VB and Web Developer Express. I have a simple application to start
> learning. Application is like this:
>
> On the web page there are two text boxes for UserID and Password entry
> and a Submit button. When a user enters a User ID and a password, the
> program checks whether the user has access rights against some database,
> Excel file or some data storage (not big) and if so opens a web page.
> That's all.
>
> I also need to be able to have means to enter the UserId and Passwords
> of the clients to this database. If the UserID and password has a
> specific combination, then two new fields become visible so that I can
> enter userID and passwords into the database through a submit button. If
> the passwords expiration time so the clients cannot enter the site after
> a predetermined time would also be useful.
>
> Any code samples, hints or guidance would be greatly appreciated.
>
> Thank you
>
> Athena
>