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

Merger of 6 sister companies under one flagship company after go live
Dear Experts,
I need one help regarding Merger of sister companies of same group. currently we

Multiple Pages
Hi. Im very new to php. I'm trying to create a basic login/registration page.

So I have a bas

SQl num_rows problem
when i try to count rows from an SQL select i get an warning

Code: [Select]$countviews = mysq

some query on multilingual website
Hi all,

Which is the simplest and easiest method to make a website multilingual,
is it put

Php mysql - select?
Hi i have this code:
Code: $iteminfo = mysql_query("SELECT desc FROM wc_items WHERE itemid =

php mailer
How can i send a mail to large no, say 50,000 reciepients using [color=#0000FF]php mailer[/color]

EXplanation help
Hey all,

I am still fairly new to PHP programming and I am trying to put together a page wher

POST into Array problem
Hi Chaps,

I have a repeat region, displaying rows of data: jobid, fromtable, translatorcharge

Undefined offset
The following script checks to see if the user answer matches the correct answer.

Form Fiel

UDS 4.0 Datatype issue
UDS 4.0.322 -- connecting to NI Labview 9.0

When using connection method: Cache with live

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