title: redirect to another URL issue in ASP.Net
body: <p>I have two web applications and sometimes I need user to jump from one application to another. Since they are two web applications and may reside on different domains/machines, I can not share session between them.</p>
  
  <p>The technical challenge for me is how to pass session information (I only need to pass userID string information in the session) from one source application to another destination application -- so that the user feels Single Sign On and personal information is displayed for him/her in both application (as the userID is passed to the destination application, no re-login is needed).</p>
  
  <p>My current solution is generate all URL strings in both application and append them with user ID after user logins successfully, like <a href="http://www.anotherapplication.com/somepage?userID=someuserID" rel="nofollow noreferrer">http://www.anotherapplication.com/somepage?userID=someuserID</a>, the userID value is retrieved from session. But I think my solution is stupid and I want to find some way to automatically append the query string ?userID=someuserID when the user jumps to another URL in another application -- so that I just need to generate the common unified URL <a href="http://www.anotherapplication.com/somepage" rel="nofollow noreferrer">http://www.anotherapplication.com/somepage</a> in both application.</p>
  
  <p>Is there a solution to automatically append the userID query string?</p>
  
  <p>thanks in advance,
  George</p>