Here's the scenario. This is going to live in SharePoint, but it's an ASP/HTML issue I think. I need to be able to host an existing portlet in a sharepoint window. The trick is that I need to include some custom http headers in each request to the portlet app.
So, the initial request is easy... Just add the headers and make the request. But as the response comes back in, I need to look through it and see if any of the links are requests back to the portlet app. Those I need to intercept and add the custom headers to.
So as the response comes in, I can replace the href's in the stream, but what do I replace them with? What can I put int their place so that it maintains it look and feel as a hyperlink to the user, but will trigger a server side function call where I can add the custom headers in?
Any thoughts are greatly appreciated.
J