S
Stanislav Ostachevski
Hello,
My app needs to map calls to "virtual files" to ASPX parametrized pages,
without showing user actual page address.
I.e, I want to catch calls to
http://myserver.com/products/id_product/somefeature.ashx
and redirect them to
http://products.myserver.com/product.aspx?id=id_product&features=....
but I don't want to reveal the actual URL of product.aspx
I catch all calls to ashx files by custom HTTP handler.
There's a problem: I can't use Server.Transfer call due to IIS redirection
issue (IIS can't redirect call to another DLL)
Microsoft suggests using Page.Redirect, but in this case new address will be
revealed, so I can't do so.
And I can't get reference to private PageHTTPHandler class.
Any advise would be greatly appreciated.
My app needs to map calls to "virtual files" to ASPX parametrized pages,
without showing user actual page address.
I.e, I want to catch calls to
http://myserver.com/products/id_product/somefeature.ashx
and redirect them to
http://products.myserver.com/product.aspx?id=id_product&features=....
but I don't want to reveal the actual URL of product.aspx
I catch all calls to ashx files by custom HTTP handler.
There's a problem: I can't use Server.Transfer call due to IIS redirection
issue (IIS can't redirect call to another DLL)
Microsoft suggests using Page.Redirect, but in this case new address will be
revealed, so I can't do so.
And I can't get reference to private PageHTTPHandler class.
Any advise would be greatly appreciated.