« Previous Next »

Thread: Enabling Cross-domain Posting for a Classic ASP Website

Last post 06-29-2009 1:35 AM by gavinharriss. 1 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (2 items)

Sort Posts:

  • 06-25-2009, 10:16 PM

    Enabling Cross-domain Posting for a Classic ASP Website

    Hi,

    We've migrated a number of old sites we've inherited across to IIS7 / Windows Server 2008, however we've run in to an issue which I believe is possibly IIS7 being locked down by default to deny cross domain form posts.

    domainA.com has a link which when clicked posts a form with a hidden field to domainB.com. But when this is clicked a 500 - Internal server error is encountered.

    The form:

    <form method="post" action="http://domainB.com/search.asp" name="suppliers">

    <input type="hidden" value="0A3ECF6E7B514E00AD32B0AC57A18F24" name="emguid"/>
    <a onclick="document.forms['suppliers'].submit();" href="#">Supplier Directory</a>
    </form>

    I've come across a number of solution for silverlight / ASP.NET web service centred solutions which use clientaccesspolicy.xml / crossdomain.xml to allow cross domain access, but these don't seem to work in our case.

    Any gurus out there with any suggestions?

    Cheers,

    Gavin
    Gavin Harriss
    Portfolio: www.gavinharriss.com
  • 06-29-2009, 1:35 AM In reply to

    Re: Enabling Cross-domain Posting for a Classic ASP Website

     Oops, sorry... seems I was barking up the wrong tree! The true issue was something unrelated.

    Gavin Harriss
    Portfolio: www.gavinharriss.com
Page 1 of 1 (2 items)
Microsoft Communities