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

getting Vars to pass to next page.
Hello all,
I have a confusing situation on my hands, i am a member of a gaming community and we

problem in pagination when processing with selectbox form
Hi,

I have a search form, with select boxes, if am selecting the value from the form, it work

Request-URI Too Large
I have created a simple submit form for a mysql database that puts a piece of code into database.<

remove trailing slash from array
I have the following array which contains trailing slashes I need to remove. What is the best way to

Calling variables
I want to call this to my website but it doesn't display what I want it to,

Code: <h5&

Timer control causing error
I recently decided to add a timer control to an existing page that uses AJAX on my site. As soon as

php and downloading
I want to use a php script to create two files. Then I want it to redirect (or whatever) to have tho

in php, link returns to the line
When I add a link in a php page, the link word returns to the line (as a
would do)

Examp

Stumped by Third Day of Month problem
I am trying to build an algorithm that will essentially do this:
Code: [Select]$this_month = Oct

my sql select id and then update problem.
I need to select some auto incremented ids out of a database and then use those id in a where statem

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