I have an ASP.NET MVC3 application with a custom membership provider.
I have a loginUrl specified in my web.config as follows:
<forms loginUrl="~/SSO/LogOn" timeout="86400" slidingExpiration="true"/>
I wondered how I can intercept this request when a user hits a page for which they don't have access rights so I can append something to this URL.