Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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.



I've an application where i need to give access to all the features only to admin and only fe..

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

Post New Answer

More Programming Languages AllOther Interview Questions

Explain what is OOPS and its concepts?

0 Answers   BirlaSoft,


How can you incorporate a Datawindow to a Oracle8i stored procedure?

0 Answers   IBM,


Is buffer size and file block size is similar? If similar,at which case it will be same size?

0 Answers  


How to call static method in Java?

2 Answers   Epoch,


What is diffrent between Method and and function in c#

0 Answers  


Given an array of size n. It contains numbers in the range 1 to n. Find the numbers which aren?t present.

0 Answers   Amazon,


1. What coding languages are you comfortable with?

1 Answers  


How you ll create customizing Tcode.

1 Answers   IBM,


What is the difference b/w Object base and object oriented programming?

1 Answers  


what is the difference between SCAN AND CHECK,LOKUP AND XFOOT? where we can use thease opcodes? Can any body tell me real time senariao with example?

0 Answers  


i am exeprienced person what is selection process

0 Answers   BitWise,


Which tag is used to break a line

3 Answers  


Categories