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
 
Back
Top