How To check for changed user roles?

T

Trollpower

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,020
Latest member
GenesisGai

Latest Threads

Top