I've got a couple pages in my web app that are used by external applications. They will link to the pages, and pass in various querystring values to allow my app to do the searching and return the results in the page. The problem is, if the user is not yet logged into the web app, they are sent to the login page, and the ReturnURL is truncated to include only the first QueryString value. I lose the rest of the values. So far I haven't figured out a solution to this. Here's a quick example:
The external application links the user to:
http://our.server.com/webapp/search.aspx?firstname=joe&lastname=smith&age=33
If the user is not logged in they are sent to the login page, and the current URL looks like this:
Go to the complete details ...