Forum Moderators: open

Message Too Old, No Replies

Cross sub-domain form submission problem

         

da644

1:27 pm on Apr 10, 2007 (gmt 0)

10+ Year Member



Hi.

We have a site which submits a form from one sub-domain to another, in this case www.domain.com to booking.domain.com. From the error reporting we have on the site it has become obvious that the form data is not always been submitted across. We have tried changing the security setting on the web browser to there highest and also installing several firewalls but none of these seem to re-produce the error. It isn't affect many users, but it is some and we are getting some complaints. Also many, but not, of the complaints have come for AOL users.

Any ideas?

Kind regards,

Andrew.

Fotiman

4:29 pm on Apr 10, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month




From the error reporting we have on the site it has become obvious that the form data is not always been submitted across

It might help if you indicate what type of error you think you're seeing. Is this an HTTP error? A JavaScript form validation error? Does the error reporting provide any useful clues? Without more information, you probably won't get any helpful replies.

da644

8:02 am on Apr 12, 2007 (gmt 0)

10+ Year Member



As I said, the error reporting tells me that the form fields are missing and as such this causes an error in my server side script because it is expecting form data.

Kind regards,

Andrew.

Fotiman

1:56 pm on Apr 12, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Uh... you still didn't really answer the question. Where's the code? What do you mean by "error reporting"? What does this magical "error reporting" look like? More info please.

[edited by: Fotiman at 1:57 pm (utc) on April 12, 2007]

da644

2:06 pm on Apr 12, 2007 (gmt 0)

10+ Year Member



I'm not really sure what you want be to say. There is a server side script on booking.domain.com that gets called by a form submission on www.domain.com but when it get there the form fields are all gone. This causes the server script to error as it is excepting the form fields and this error generates an error report. The error report identifies the line of code in the server side script on which the error occurs, which is the location of the first reference to a form variable, and give the value of variables that exist including the form variables. The form variables section is blank.

Andrew.

Fotiman

4:17 pm on Apr 12, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I'm not really sure what you want be to say.

Actually, that pretty much answered my question. It's not a JavaScript issue and it doesn't seem to be an HTTP issue.


There is a server side script on booking.domain.com that gets called by a form submission on www.domain.com but when it get there the form fields are all gone.

It shouldn't matter that you're submitting to a different domain. Obviously, it's working some of the time. Is your form at all dependant on JavaScript? Also, what method are you using to submit the form (GET or POST)? If it's only AOL users, I'm wondering if they're going through some sort of proxy that has an invalid cached version of the page.

da644

7:53 pm on Apr 12, 2007 (gmt 0)

10+ Year Member



Hi.

The form does not depend on Javsscript at all and it uses POST. From the cgi browser information I'm getting from the error reporting it is not only AOL uses, but most of the feedback complaints the site has received about this problem have come from AOL users, however that could just be something to do with the type of people who use AOL!

Any other ideas?

Andrew.

Fotiman

8:27 pm on Apr 12, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Assuming all of your inputs have names and they are not disabled, I have no other ideas. Sorry. :-/