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

Blogging s/w
heya frndz!!! i want to start a blog.... m looking for a s/w like oscommerce which is thr for e-comm

Simple email form - Newbie
Hello all,

First time poster!

I've been asked to create a simple HTML form that submit

$action = "insert"; //$action = $_GET['action'];
$action = "insert";
//$action = $_GET['action'];

why is this invalid type? I am

Simultaneous select/update/insert
Hi

How would I need to go about when 2 users update a single row simultaneous? And how would

problem with query error
First Thanks to those who helped me on my previous posts, and the following code i'm using is not mi

My query is being run with no results.
I have this.

Code: function DropUser($duser_id, $user_email, $user_username) {

Blank record injected into database
I always found several blank records inside my database, although $SESSION is required to insert the

quick question
Hi ..

i have a question
how do i set a var so it displays via an echo
Code: $logo = '&a

How do I get the row number from from an sql table query
Hi all

I have a table that I query and it returns a number of rows.
mysql_num_rows($query)

why aint this working?
i have this code:

Code: $num = 250;
$count = ($num - $rcount);

echo $rc

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