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

add text and number image
hi guys ..

ok see i want the user to add their name and pick a number then click get it and i

DateObject and Nulls
Hi all,

I have an array mapped to a value object. One of the items in the array is a PHP Date

help finding hacking loopholes
i was attacked by a redirect php injection

my pc is clean of viruses

so i figure that

Remove directories not empty
hi,
i have an array that contains some names (1,4,6,56...). Every integer is a name of a folder.<

mysql select query problem
how can i select multiple fields from multiple table in one query like

i have table name t1 a

Get last modified date of web page
Hai All,

In php how can i get last modified date of a give web page . I have tried to g

Spaghetti Code
So.

I've pretty much reached the point where I have so many isset s on one page that I can't

Date Question
I'm using the TIMESTAMP() function within mysql to set the date/time for certain events. However, ho

Save username into DB
OkaY so I got my blog to actually save the posts and whatever, all I need now is for it to keep the

Table sorting
Hi,

I'm trying to modify the following in order to make the output table sorted alphabeticall

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