L
Lord0
Hi there,
I have a web app running on Oracle's J2EE container OC4J (10.1.2)
One of the webpages uses two pieces of Ajax functionality, call them
"longRunningAjax" process and "shortRunningAjax" process.
longRunningAjax performs a lot of tasks on the db and can take quite a
time to run.
shortRunningAjax gives the user feedback on longRunningAjax by
monitoring the logs etc that longRunningAjax produces.
So the flow *should be*:
1. User starts longRunningAjax
2. User starts shortRunningAjax
3. shortRunningAjax completes and displays to user the current state
of longRunningAjax
4. Repeat 2-3 as required.
5. longRunningAjax completes
What the flow *actually* is:
1. User starts longRunningAjax
2. User starts shortRunningAjax
3. longRunningAjax completes.
4. shortRunningAjax completes (appearing for all the world like it was
blocked by longRunningAjax)
Each of the two piece of Ajax function perfectly when not run
simultaneously.
I read somewhere that some Application Servers have a configuration
setting which prevents multiple "simultaneous" requests from one
browser session. Which would in this case be the Ajax.
Anybody have any ideas or thoughts on this?
Cheers
Lord0
I have a web app running on Oracle's J2EE container OC4J (10.1.2)
One of the webpages uses two pieces of Ajax functionality, call them
"longRunningAjax" process and "shortRunningAjax" process.
longRunningAjax performs a lot of tasks on the db and can take quite a
time to run.
shortRunningAjax gives the user feedback on longRunningAjax by
monitoring the logs etc that longRunningAjax produces.
So the flow *should be*:
1. User starts longRunningAjax
2. User starts shortRunningAjax
3. shortRunningAjax completes and displays to user the current state
of longRunningAjax
4. Repeat 2-3 as required.
5. longRunningAjax completes
What the flow *actually* is:
1. User starts longRunningAjax
2. User starts shortRunningAjax
3. longRunningAjax completes.
4. shortRunningAjax completes (appearing for all the world like it was
blocked by longRunningAjax)
Each of the two piece of Ajax function perfectly when not run
simultaneously.
I read somewhere that some Application Servers have a configuration
setting which prevents multiple "simultaneous" requests from one
browser session. Which would in this case be the Ajax.
Anybody have any ideas or thoughts on this?
Cheers
Lord0