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

Creating an invoice
Using fpdf I am trying to create an invoice to send to clients. The products are sold in pricing tie

Attempt to assign property of non-object in...
I'm having issues with the following function in PHP 5...

function getTreeWithChildre

making web pages for accounts
Hello, I would like to make pages for accounts on my website im making (its not a real website..im j

records between 2 dates
Hello all,

I have a date tracked table which contains effective_start_date and effective

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

So I have a bas

help with insert
Hi there,

I am trying to insert some data into a database, but for some reason, it is not ins

Not sure why this script is not working?
Hi I am new to php programing and I was trying to make up a simple script like a captcha but I canno

BI in Upstream Production operations
Appreciate if you can assist in the following areas:
1) Examples of life before and after BI i

present value of sequence?
Hi

Please help me to find out the present value of sequence?

Thanks

I need an iframe that calls up a different page according to the date
hi

I don't know any php (only html) and I urgently need to do the following:

I need a

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