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

A WBS element with the name XXX already exists in version FREI_VERSION
Hi.
When I am trying to insert WBS element in a project, error occurs:

"A WBS eleme

Extract text from string
Hi folks,

I have a string that looks like this:

aaaaaaaaaa:
bbbbbbbbbb (ccccccccc)

What's best way to get a user's Word doc converted to simple html and images?
Hi all,

I was just wondering if anybody has any experience of this.
Basically, I'm buildin

AUTONUMBER PROBLEM
Hello Everyone,

My name is Jones and i am new to this forum and to oracle. I am using ora

I need some help with the IF command...
I have a large number of images in one section of my website with the .jpg format. I'm adding a bun

php web service error
hey guys,
I'm working on a project requires the use of web services. I've been trying a few tutor

Dealing with code in db query
I am dealing with C code and I need to make sure it is encoded some how to ensure its integrity and

SAP Project Module
I have seen in the SAP Project Module,plan cost and budget are not equal and even difference is sign

Bit manipulation program with binary operations
My homework is to create a program to scan in and add binary numbers and print them like so

Class not found error
I am getting Class 'index' not found in Eval function:

//write config

$pat

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