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

image upload, resize THEN submit form
Ok so I have a form that requires the user to upload an image, and then do something with that image

Inserting multiple records from single form
I've found a number of threads that deal with this issue, but I'm new to php and coding language so

registration form
first time posting. did some searches but didnt find exactly what i am looking for. dont flame cause

extract a file from zip file
hi,
i know how to unzip a zip file in php, but is there a way to just extract a certain file only

php code to accept and delete incoming data
Using following HTML Code please show me how to write PHP code to accept and delete the incoming dat

PHP Error
On my .php page I have a drop down box that has several names in it. When a user clicks the name &am

noob cURL help
I have a pretty basic form that I need to cURL post to a file in my includes folder (includes/login.

LOOPing Problem
Hello All!

The following code loops through the data and displays the data accordingly. My p

php + mysql count consecutive data
I have a database of values and I want to work out how to display them if the values match a consecu

PHP not creating file.
Its supposed to create a .ini file in the /scriptfiles/users/ with the name they entered into the fi

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