View Full Version : kindergarten ASP
07-16-2004, 08:09 AM
hai ppl of the forum...i am very new to ASP...and i need help on that....
I am creating a form system for my uni project...i need to know hw to post values from the form into the database....i am using a Access.....my form has the following fields to be input into the database...Name, Age, Address, Tel No....
I also need to know hw to validate password....i mean authenticate password.....
It might be a simple question but i a really really new..... :(
please help!!!!!!!!!! :(
07-16-2004, 09:13 AM
Google is our friend.
07-16-2004, 10:09 AM
www.asp101.com/samples has some short database examples
And here's the basic concept of a login page:
Classic ASP Design Tips - Login Page
Session("UserName") = objRS("UserName")
Session("UserLevel") = objRS("UserLevel")
Then you can use If Then's or Select Case on each page to control whether a user is allowed to actually be there and whether particular links of where a user can go actually show up.
If (Session("UserLevel") <> "Admin") And (Session("UserLevel") <> "Regular") Then
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.