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

UDP server recvfrom() always returns -1? :(
Hello all,
I am getting a very strange error in my code :( I am writing a server application in C

Schedule editor
Hi,

I have a question related to Schedule editor.
If we schedule a BLS for every 30

How a counter of users ? such as ---> (231 Viewing)
I want to count how many users are actually viewing the page, How is that possible?
Thank you guy

Creating a unique 'control panel' for each user
Hi there,

I'm thinking of designing a site that will allow users to sign up and have their ow

need help in php variable
i have a php variable on one page
Code: [Select]$lastId = mysql_insert_id($db);
echo $lastId;<

Solution to the FindControl problem
I have seen may posts about having problems with the FindControl method. Most seem to come about bec

retrieving images from mysql database using php
So I've been trying to figure out how to store images in a mysql database, and as far as i can tell

All possible combinations of Strings from table in PL/SQL
Hi,

I am trying to figure out how to build a list of all possible string combinations fro

PHP and SMS
Hi all forum members. I am new here and am unsure what category shoild I post this in.
Moderator

Bar charts using Graphical Framework.
I am using Graphical Frameworks(GFW) to create a chart Graphic . There is no problem with the data d

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