title: Federated Security/STS
body: <p>I have a asp.net site that uses federated security for authenticating the user.  Therefore a user navigates to the url which is redirected to a login page and if successful gets routed back to the main application.  What I need to do is somehow have the main application allow some code to be ran before being redirected to the login page.  This is because the intial request may have some query string parameters that I need to store in the users session as the request back to the main application is dropping them.</p>
  
  <p>Is this possible... any thoughts or examples would be greatly appreciated!</p>