Writing A Web Browser.... Sort of...

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I need to write a control for a SharePoint installation that can act as a proxy for web requests in order to host existing porlets in a SharePoint window.

Basically, I need to be able to initiate a request to a portlet server including customized information in the HTTP request header. Then, as the response comes in, I need to modify all of the links that refer back to the portlet server so that I can intercept them and include the customized HTTP header again.

Any thoughts on how to do this in general? And anything on implementing this in SharePoint is great to. Thanks.

J
 
Hello,

As I understand, you want modify a http request before your portlet server
(SPS server here?) handle it and modify the response message before it is
sent to clients, Is my understanding correct?

In SPS/WSS there is no such settings. But you may consider the HttpModule
in ASP.NET which is still able to used in SPS server:

Introduction to HTTP Modules
http://msdn2.microsoft.com/en-us/library/ms178468.aspx

How To Create an ASP.NET HTTP Module Using Visual C# .NET
http://support.microsoft.com/default.aspx/kb/307996

Intercept, Monitor, and Modify Web Requests with HTTP Filters in ISAPI and
ASP.NET
http://msdn.microsoft.com/msdnmag/issues/02/08/HTTPFilters/

If there is any further question, please feel free to let us know.

Sincerely,

Luke Zhang

Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top