I have a site collection with three sub-sites in 2010. If a user clicks on the report link myreport.aspx loads up in the root site:
mysharepoint/myreport.aspx
If I then click the tab for subsite 1, I want sharepoint to 'remember' that myreport.aspx was previously selected and load the same .aspx page in the subsite, so:
mysharepoint/subsite1/myreport.aspx
so I need a way to ensure that subsite1, loads myreports.aspx if it was previously loaded at the site collection level. In asp.net I may pass this on the url so the link to subsite1 would be:
mysharepoint/subsite1/home.aspx?whatpagewasloadedup=myreport.aspx
but I wondered if there is a 'better' or more efficient way to do this inside of sharepoint. I had considered maybe using the pagereferrer to get this information or maybe storing the value in the property bag but would appreciate any advice on the best practice for passing parameters like this.