Different Behavior Depending on Page's Host
I have Firefox26/Firebug1.12.6. I have two browser windows open.
In one window I am pulling a page from 127.0.0.1 ('localhost'). The other window, the page is from an intranet site, dev1.example.com. The page code delivered to each browser window is exactly the same and uses jQuery1.7.2.
Each page functions exactly the same except for one specific action.
The browser showing the localhost page will not execute the jQuery .submit() statement below. The browser showing the intranet page does.
I see the log entry in Firebug.
console.log('Auto-submitting '+'this:'+$(this).attr('src')+' '+'parent-form:'+$(this).parents('form').attr('id'));
I may be wrong but I don't think so.
"I would first check out the code on the two servers that is supposed to handle the submission."
The page from 127.0.0.1 isn't submitting. That's the issue. Handling the submission isn't even in the picture as of yet.
"There is the possibility that ... there is a difference in the two server configurations that may be causing the problem."
Let's explore that. After the servers have each done their job and delivered the exact same code to the client, what could possibly be in a server's configuration file that would affect how a client behaves?
Which is why I made the post. I'm hoping for a clue with respect to the client's point of view.
Assuming that all things are equal: browser/browser version/OS/protocol it should make no difference as to the behavior that will be given to the same page and resources. That is most likely the source of your problems--its not really getting exactly the same page or exactly the same resources.
"Assuming that all things are equal..."
All things are equal. I am not assuming. Each browser window is really getting exactly the same page and exactly the same resources.
(Well, in the few seconds it took between "document ready" in browser window #1 and "document ready" in window #2, Earth had moved a few hundred miles across the universe. Thus, the entire nature of reality could have shifted ever so slightly. But I doubt that would be the cause.)
Can we then say that a browser could:
Then I would say we have found the culprit -- a difference in the operation of the browser depending on the page's host. Such a difference in operation would be by the browser - not the server.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)