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

Comparing two dates
Hi Guys
I have two dates I want to compare. Below is my current implementation. The problem with

Php - mysql select?
hi, i have this code:

Code: <?php
session_start();
// dBase file
include &quo

disabling a button server-side then re-enabling client-side breaks button postback
I have a tabbed container and a button (not in the container) on a page. If the first tab is selecte

Install page
How do I make it so when a user submits information on the Install page, it'll right it into the cor

Help to integrate whois Domain Details to website
Hi,

can i know is their any php script r methods to add domain details to my website.

ASP.NET Validation Event Cycle
Hi,
I have asp button as follow:

How could I do this?
Ive got a simple lottery game, and am using an sql database to keep track of the numbers bought. But

Help a newbee save my job !
Hey guys i am dying here i am new to php and would like for someone to help me with this problem

Is there a quick way to do this?
Hi all,

I need to create a mysql table from php that goes a little something like this

PL/SQL: ORA-00947: not enough values error message
Hi all i am getting Error(25,63): PL/SQL: ORA-00947: not enough values error message when executing

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