title: How to programmatically set "PreviousPageType VirtualPath" (for "Server.Transfer" to one page from multiple pages)?
body: <p>I want to have one page shown for a couple of pages using <code>Server.Transfer</code> (e.g. if the user navigates to page1 or page2 - it will, in both cases, show him page3). I am doing that because the pages are very similar.</p>
  
  <p>However, there are a couple of differences between them, which I want to take care of getting the public properties of the sending page (e.g. page1 or page2) as shown <a href="http://msdn.microsoft.com/en-us/library/6c3yckfw.aspx" rel="nofollow">here on MSDN</a> in the fourth option.</p>
  
  <p>But that needs the <code>PreviousPageType VirtualPath</code> to be set to the correct page - which might be one of several (e.g. page1 or page2). How do I do that?</p>
  
  <p>EDIT: It's a web application project.</p>