|
-
Dec 19th, 2000, 02:51 PM
#1
Thread Starter
Lively Member
i want to create a username password form that dependant on user level it grants them acess to different forms
ie
1.manager
types in his username lets say "MANAGER"
and his password "PASSWORD"
and presses the submit form
i want it to search my sql7 database for the acces level number and depending on the level of access it lets him into a certain parts of the members area
can this be done??
i have three levels
1.manager
2.user
3.ME (full access)
so the manager can only see his management type stuff
the user can see his personal details ect ect
and me who ccan search managers and users ect ect
hope you understand what im trying to do thanks for all your help!!!
-
Dec 19th, 2000, 09:56 PM
#2
Level Access
Hi..sure it can be done...
Try using a fields so-call "status" to classify the user level.
Regards
Mac
-
Dec 19th, 2000, 10:00 PM
#3
Thread Starter
Lively Member
thankyou
for your reply but i have never done an asp password screen before help me out on this one please or point me in the right direct as i cannot find any books on password screen creations ect ect
-
Dec 19th, 2000, 10:12 PM
#4
-
Dec 20th, 2000, 02:04 AM
#5
Addicted Member
I have just finished a password page in asp with different user levels!
I wrote an extra field into my SQL database with the level number(i.e. 1,2,3). When the user enters his password, I set that field equel to a session variable :Session("Level")
From there on I just compare everything to this variable, and if it is higher than a certain value, certain HTML elements are displayed, By using simple IF statements!
Hope it helps
-
Dec 20th, 2000, 03:01 PM
#6
Thread Starter
Lively Member
hi there thankyou for that
my problem is im still learning asp proberly the forthday on it and it all seems pretty good to me
i can make enter forms delete forms update forms but when it comes to password validation im a newbie and have not got a clue where to start??
so could you help me out please???
even just dsome coding to get me started would be greatly appreciated
thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|