Last post Sep 19, 2008 10:23 PM by malikvakaz
Sep 17, 2008 12:14 PM|RobHood|LINK
I have created an http module for url re-writing and i am experiencing some wierd behavior...
I re-write the path:
App.Context.ReWritePath( newURL, null, null, false);
I have checked in both the module after path re-writing and in the page load event of the page loaded; Request.URL has the values that I assigned through newURL.
the page loaded is another page. it is the page that is found in the address bar of the browser. newURL is pointing to another page that it is not loaded. isn't it supposed to load the page pointed to by newURL not the one in the address bar?
Thank you for your help
Sep 19, 2008 10:23 PM|malikvakaz|LINK
i just tried the way u r doin but i m getting right page loaded in the end, i m getting page loaded which has new url.. old url is just getting displayed in address bad
Application_BeginRequest event of Global.asax and in the end im getting default2.aspx regardless what i type in address bar. there is nothing that gone wrong...
Please have a look at this again and let me know