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

array_combine() error
getting an "Warning: array_combine() [function.array-combine]: Both parameters should have an e

Join Query Help
Hi all,

I am having problems with the below code, which we shall call 'my first join query'!

Filename like the user name
I am creating a form and storing the values in file. Could anyone please tell me how to write a code

Time script, set to my time zone?
I am using this line to get the date and time

Code: $time = date(F." ".d.", &q

Schedule editor
Hi,

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

Error querying database.
I get the above error when trying to insert some values to a datatable.
Here's the code :

PHP search multiple input field box help
I am having a problem with my search script. At current it will simply search by a selected date whi

Display search result
Hi!

I have a SQL database with information about albums and track (music).

This is wh

Using the $_GET variable to view certain records
Hello,

First let me explain my problem, I have 2 pages the first page pull a list of Guide ti

constructor ?
i have written this program and made 3 constructors in the class and i want to call them in the main

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