Here is a small example of an HTTP Post. You could build this into a user control which you could drop onto any page on any domain. The url below in the code "http://www.somedomain.com/UniversalContent.aspx" should be replaced with a page or text file that holds the content you want to be used on any of the other domains. You could then even add a property to the control to define what content it pulls.
public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
Response.Write(httpPost("http://www.somedomain.com/UniversalContent.aspx"));
}
string httpPost(string url)
{
System.Net.WebClient web = new System.Net.WebClient();
web.Headers.Add("Content-Type", "application/x-www-form-urlencoded");
byte[] parameters = {};
byte[] results = web.UploadData(url, "POST", parameters);
return System.Text.Encoding.Default.GetString(results);
}
}
Does this make sense? Like I said before there are many ways to do this and this is just one quick easy way. I personally use a shared SQL server for this kind of a thing but it depends on what resources you have available. Let me know if it works out.
Thanks,
Kenny