I need functionality similar to the Authorize Attribute in the sense that if a user tries to access the action and they have not been authenticated, the user is rerouted to the logon page before they can proceed.
After a user logs in, I want to check that they have completed some additional "profile-like" information. If they have not completed the additional information, I want to reroute them to the profile form until they have completed the form. Once completed, I want to route them to where they were originally trying to go (just like the Authorize Attribute).
I had done something similar with Web Forms by subclassing the form and adding the logic needed there. Then every form in the site inherited from this base form.
How can I do this in MVC?
View Complete Post