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?

No comments posted yet

Your Answer:

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

simplexml and xpath - Need some help
Hello,

I am trying to parse an xml which comes back from Amazon and I am trying to know how m

php title problem
Hi,

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

Currently I have my <

Storing the referrer in session... problems with tabs
Hello All

I am currently working on an ERP project based on the MVC methodology, when a user

string to currency format
Hi guys...

Actually I chunk out some data from txtfile and one of the data contains amount va

get multiple rows
Hi I want to get multiple rows from a db

I am using this for the db query
Code: public

Join Query Help
Hi all,

I am having problems with the below code, which we shall call 'my first join query'!

PHP time (deadline within one week)
I have a column ['projdue'], which stores the deadline for a project.
I have PHP code and <

use an array from 1 class in a second class
I have a class that adds data to an array

Then I have a second class and I need to check if t

Coding question?
Hey guys, I have a quick question. If I want to make a way for people to pay for health in my game,

How to ... (FAQs)
... get e-mail notifications As several people asked how to get e-mail notifications when new posti

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