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 |
Hi can you please help for the following. I have a ASP.Net web page I want to print the whole page how is it possible? I want It in ASP also.Please send me the solutions dipankar.hazari@gmail.com . Thanks in advance.
How many types of list exist in the HTML
public static void main(String args[]) describe it
which property is used to display the advertisements with adrotator control
I want to pass .pdf files as OlE Object to crystal report through VB6. Please any one guid me...
what is delimiter in sas ?
how to data grid use in data bind?
Please forward important interview and basic questions in VB6 on my email id: usneha_16@yahoo.co.in
How to call static method in Java?
what is woransient key word? how it is used in java
how many languages .net is supporting now?
I am taking the bmc control m/enterprise manager 7.0 scheduling test and just wanted to see what kind of questions they would ask or if anyone has taken the test and how long it is for how many questions?