By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,686 Members | 2,392 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,686 IT Pros & Developers. It's quick & easy.

How To check for changed user roles?

P: n/a
Hello NG,

Ive got authentication mode Forms activated in web.config. Now I have
also 2 pages. Page 'A' needs role '1' to be accessed while page 'B'
needs role '2' to be accessed. When the user starts at page 'A' he gets
redirected to the login-page as stated in the web.config file. From
page 'A' he can switch to page 'B' which needs a different role for
access (role '2' in this case). If the user switches to page 'B' he
gets redirected to the login-page, too. But if the user clicks on a
button on page 'B' to return to page 'A' he didnt get redirected to the
login-page, alltogh he has the wrong role to access page 'A'.

Does anyone know why the user didnt get redirected to the login-page or
how i can force to do this if the roles are wrong? It seems to me that
asp.net stores the information which pages the user allready has
visited somehow.

Thanks in advance

Jens

Nov 19 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.