Is there a way to transparently pass URL parameters through web pages? I mean situation that when using redirects, already added parameters will be passed to new page without direct action of programmer.
For example:
- we entering page myPage1.aspx?param1=test
- performing Response.Redirect(myPage2.aspx)
- here I would like the parameter to be concatenated to URL and in result:
- page is redirected to myPage2.aspx?param1=test
Solution should be aware of that user can open more than one application instance that share one session (authentication). For example in one browser is opened myPage.aspx?param1=test and in 2nd browser is opened mypage.aspx?param1=test2.
We have already a few redirects (Response.Redirect) in the application so the perfect solution should not require to change existing code.
Can it be done?