Forum Moderators: open

Message Too Old, No Replies

directing user to web page according to their level

         

jowan

5:16 pm on Mar 22, 2004 (gmt 0)

10+ Year Member



My web site has 3 level of users. I) Admin which can access all the web pages. 2) staff which can access to the certain part of the user and 3) customer which can only access another part of web pages.
Upon login, users are directed to those web pages according to their level. I understand that session can do the job but I am new to ‘session’, I wonder how would I place the session object.
Can anybody give me a hand? Thank you.

Xoc

7:48 pm on Mar 31, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You are going to need some kind of login. At that point, you can assign a Session variable with the level of access the user has. Then you will need to look at that access at the top of any page and, if it is improper, do a Response.End()

Session variables are assigned by
Session("accessrights") = "admin"