Customizing message/behavior


Posted on 16th Feb 2014 07:03 pm by admin

Hi,I'm using the ASP.NET membership/authorization controls in my application. Some parts of my application are reserved for users who are in certain roles i.e. editor, writer, etc. I control this with web.config files for those folders. My question is how do I give users meaningful and customized feedback if they try to access an area that they're not authorized for. For example if a writer tries to access an area that is only reserved for editors, I'd like to tell them something like "This area is for editors only". How can I create this behavior?
Did you know?Explore Trending and Topic pages for more stories like this.
No comments posted yet

Your Answer:

Login to answer
58 Like 25 Dislike
Previous forums Next forums
Other forums

post to self
Trying to get my form to submit to itself. However I am also trying to use an image for my submit bu

Array question
Does anyone know how to create a program that takes the $ amount for 8 different departments and gi

Need help with basic sql
Hi,

I am using oracle 10g, and having some small doubts related to sql , here goes the si

switch not getting value
what am i doing wrong?
i want to populate the country list according to the category
i want to

php title problem
Hi,

I am having a problem managing my page title with PHP.

Currently I have my <

Auto install
Hi I have a directory lets say "apps" that I then have more folders ie "email",

Display a default image
I am trying to display generic image for items that don't have one, but I can't get it to display.

Help with simple query
Hi,

I'm trying to do a Query with a Union where I want to print the number of rows $tc conta

check comment for html
hi, I just wanted to check if a comment a user posts contains HTML, and if it does, to not allow it

PHP Code To Change Font Color in Table Cell
I would appreciate help with the following snippet of my php code. I am just trying to change the f

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash