Last post Feb 22, 2007 10:58 AM by CiacioZ
Feb 22, 2007 10:58 AM|CiacioZ|LINK
Hi to all, I made an url rewriting system for a site that have 3 domain, one fisical and 2 virtual:
Public Function GetHandler(...)
this function lookup at the request url and if the domain A then the fisical page to redirect is A.aspx B.aspx if the domain is B etc.
then I redirect the request to that physical path with this call:
Return PageParser.GetCompiledPageInstance(url, strPathPagina, context)
The problem is that sometimes when I switch between one domain to another th physical page is right according to the url domain but the loaded page is not. So for example i call PageParser.GetCompiledPageInstance("http:A.it/it/test.aspx",
"A.aspx", context) I'm expecting to load the page A.aspx but if I previusly go to B domain it will call the B.aspx page.
Could someone tell me why?
Thanks anyway :)