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

CURL question
i am wondering if it's possible to use multi curl with login something like

login once to web

Read from forum
Haven't written anything forever and I would like to get back.
What I'm trying to do is getting t

How can I get my program to read a larger array ??
Hi:

I have this program that reads from an array to do calculations. The array are just t

how do i make new line after *
First check this page here. and you see my report. Im pulling form a mysql db. I want to beable to m

update post issues
I am trying to create an update to a post function, while the update does occur, the page routing an

need to apply an if/else statement to Tim Thumb script
Not sure how to work this. I essentially want to call a variety of image sizes based on which style

I face problems to extract data from one table and insert it in another one
Hi,

For modifications, I have to extract data from one table and insert it in another one

Loops and Classes
I am making a template system and everything seems to be going well up until I have to loop in a var

session variables not working anymore
hello,
i use sessions to handle authentication within my site. my host has been changing a lot of

Object Interfaces
EDIT: Never mind, I just updated to php 5.

Hey all,

I'm currently experimenting with p

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