I've an application where i need to give access to all the
features only to admin and only few features to normal
users. Say Menu...i dont want all my menu items to be
accessible to all the users only the admin people can see
few all the features where as normal users can have access
to limited menu items...how can i achieve this. Please note
that my menu is not a database driven menu.
Answer / abhinaw kaushik
You can use Session Variable to store the credentials who
is logging in and after logging in load each menus by
checking with the session, if it is Admin then this menu
will come otherwise this menu will come.
Somethig Like:
if(Session["User"].ToString() =="Admin")
{
load the admin menu.
}
else
{
load the user menu.
}
Is This Answer Correct ? | 2 Yes | 1 No |
what are the things i had to say in personal introduction in hr round mail me to prasanna.1867@rediff.com
without selecting individually each field in Action Class from jsp,what is the best process to select as many as field at a time automatically from jsp page by using value object class.
Who is providing best mainframes online training in Hyderabad
what are the top level class of interface in java?
Hey this is venkatesh.Please can any body tell me what is SFLNXTCHG?where we use this keyword?what perpuse we use this?Can you tell me in real time senario with example? And in 7 specification(RPG/400)what is the mandatory specification using programs?
Write a program to create a process in UNIX
it is a language or tools?
Tips for blog integration by www.esteemwebsolutions.com. Can Any body suggest me to how to make wonderful questions on web integration..
What is the difference between: x=a+b+c+d; and x=SUM(a,b,c,d);?sas
iam confused among testing ,.net and java. can anybody help me.
can anyone please tell me the procedure for the NIC personal interview as i have been selected for the post of scientist/technical assistant B
Given an array of size n. It contains numbers in the range 1 to n. Each number is present at least once except for 1 number. Find the missing number