View Full Version : How do I make a username and password in asp.net
Hi I am working on my dad's website as a school project, I know html pretty well and a some css. He wants me to make one section for his students and another for paying costumers so i will need two different user name and password sections. I was looking through Google and saw a unhelpful tutorial that said i needed asp.net and if that is not true could you tell me what i will need to learn.
Whatever Jr.
02-25-2008, 09:41 AM
Hi,
Use a column called 'usertype' in your users table.
Redirect based on the value in that column.
You don't need ASP.NET. Any server-side scripting language will do.
HTH, Tom
Roelf
02-25-2008, 01:01 PM
are you able to define two subdirectories of you website and put the two different sections in there? If so, you can change the access permissions to these parts by settings done at the hosting provider. Then you dont need to do anything in serverside languages, but restrict access to all pages in these folders, except for the users having a username/password combination.
vBulletin® v3.8.2, Copyright ©2000-2010, Jelsoft Enterprises Ltd.