Page display after logout MVC3

Posted by Laghaterohan under C# on 3/4/2013 | Points: 10 | Views : 1483 | Status : [Member] | Replies : 0
I have implemented authentication in my MVC3 project. It works fine;however I have a issue.

Suppose, I am on a page and I copy that URL and then I log out . Now I paste the copied URL in the browser, and I could now see the page again but if the user performs any action he is redirected to the Log In page. However, I would like the user to directly redirected to the Log In page if the user is not authenticated.

How to do this?

Pl. help.

Thank You.

Best Regards,
Rohan Laghate


(No response found.)

Login to post response