Hello Steve,
From your description, what you want to do is post data from one of your
ASP.NET application to another ASP.NET application hosted on a remote
server, correct?
Based on the code snippet you provided, it seems you're using the cross
page posting in ASP.NET 2.0 for pages in separate web application(server)
,yes ? If so, I'm afraid this is not supported, crosspage posting can only
be used in pages within the same ASP.NET web application. For your
scenario, if you have an html input hidden field in the source page(who
send the post to target page), you can use its "name" to retrieve its value
from the Request.Form collection. e.g.
=====in target page=========
protected void Page_Load(object sender, EventArgs e)
{
string value = Request.Form["hdnCourse"];
....................
}
==================
Does this work for you? Please feel free to let me know if there is any
other concern here.
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.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/subscripti...t/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.