I have a url that redirects users to another module.
If you perform Page.Request.UrlReferrer.ToString() you will get this value:
http://localhost/dnn462/LocationInfo/tabid/62/all/true/country/US/state/FL/city/Fort+Lauderdale/Default.aspx
If you perform Page.Request.RawUrl, you will get this value:
/dnn462/LocationInfo/LocationOverview/tabid/63/Id/11338609/loc/Americas Best Inn Ft Lauderdale Airport/Default.aspx
Here is where is gets interesting:
If you perform Page.Request.Ur.ToString(), I get this value:
http://localhost/DNN462/Default.aspx?TabId=63&Id=11338609&Americas Best Inn Ft Lauderdale Airport=Default.aspx
The purpose of constructing the urls with query strings this way is to make certain pages search friendly, but as you can see Page.Request.Url.ToString() is missing the loc param which is replaced by the location name and the loc param value is replaced with Default.aspx.
Is there a DotNetNuke method I should be using to request these query strings?
Thank you