Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6223413
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T08:29:07+00:00 2026-05-24T08:29:07+00:00

I run a site A and I want to be able to POST data

  • 0

I run a site A and I want to be able to POST data to site B, which is hosted on a different subdomain. Now I have complete access to A, but cannot modify B at all.

My requirements are:

  • supports file upload
  • does not refresh browser on POST
  • uses Windows integrated security
  • works in IE 7/8 (does not need to support any other browsers)

What’s the best way to accomplish this?

What I’ve tried:

Ideally this could be done in a simple AJAX call. However the current standard does not support sending binary data (supported in the XMLHttpRequest Level 2 standard, which is not implemented in IE yet).

So the next best thing is to POST to a hidden <iframe> element. Now I’ve tried this but the server on site B won’t accept the data. I looked at the request and the only discrepancies that I found were the referer URL and the integrated authentication. The referer URL might have to be spoofed, which cannot be accomplished by this method. Also for some reason the authentication isn’t being negotiated. I’m not 100% sure why.

Ideas:

I’m thinking of creating a proxy page on the server that I run (site A) that forwards the request to site B. Site A also uses integrated security. I don’t see anything wrong with this, but I’m not sure if this is the best way to go. Will there be any authentication issues if I just forward the request over?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T08:29:08+00:00Added an answer on May 24, 2026 at 8:29 am

    Using a proxy seems to be the only thing which can work in your case. If you want to make a get request then it can be done using JSONP provided that the server supports JSONP. To make the <iframe> hack work the server should send the headers as

    Access-Control-Allow-Origin:* 
    

    which is not the case with you.
    So using a proxy seems the solution

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to run Zend site under an alias on WAMP. I am able
I run a site where it is important to have good and simple URLs
I have the following versions installed: thin (1.2.11, 1.2.7, 1.2.2) But I always want
Summary: I want to be able to run a query against an external database
I have my web site run out of a Couch DB instance, so I
I have created a website in PHP, now I want to add ad support
I am very new to programming. I want to be able to run this
I want to be able to quickly deploy updates to a site that is
Hi I run an internal site site to organise our company events. I want
I have run into a difficult situation. I do not want to do my

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.