user access

  • Thread starter Thread starter si_owen
  • Start date Start date
S

si_owen

hi folks,

!!!this project is a web app!!!

I have 3 pages created, 2 i want to be viewed by all users and 1 i only
want the administrator to see.

I have a database table made up of users, including an entry for an
administrator.

What i want to do is link the first page that the user will see to the
user db so that it recognises the users unique username automatically
without having to log in. this page will have a hidden command button
which links to an admin page, which only the admin username will make
visible.

i know i have to create a session and a class, but linking to the db
and so that it auto recognises is where im stuck.

any help = many thanks

Simon
 
I have 3 pages created, 2 i want to be viewed by all users and 1 i only
want the administrator to see.

Take a look at ASP.NET's role and membership provider
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top