D
David Bowey
Hi There!
I'm writing a custom HttpHandler to create watermarks on my PNG images of my
website. So typically, a PNG image is linked in an ASPX page as follows...
<img src="images/test.png" alt="testing" />
So I created an HttpHanlder to handle PNG images, have mapped the PNG
extension in the IIS and also added the HttpModule section in the web.config
file.
In my HttpHandler's ProcessRequest event, I tried to retireve the Page URL
by...
context.Request.Url.AbsoluteUri
But it is not returning the Page's URL but returning the URL of the PNG
image.
How can I retrieve the URL of the PAGE that links the PNG image?
Thank you all in advance!!!
Dave
I'm writing a custom HttpHandler to create watermarks on my PNG images of my
website. So typically, a PNG image is linked in an ASPX page as follows...
<img src="images/test.png" alt="testing" />
So I created an HttpHanlder to handle PNG images, have mapped the PNG
extension in the IIS and also added the HttpModule section in the web.config
file.
In my HttpHandler's ProcessRequest event, I tried to retireve the Page URL
by...
context.Request.Url.AbsoluteUri
But it is not returning the Page's URL but returning the URL of the PNG
image.
How can I retrieve the URL of the PAGE that links the PNG image?
Thank you all in advance!!!
Dave