All:
It's not causing any problems. The functionality is all working. It's
just annoying and I was curious...Thats all...
Shane Cessna
Senior Programmer
North American Lighting, Inc.
217.465.6600 x7776
Scott Klement <web400@xxxxxxxxxxxxxxxx>
Sent by: web400-bounces@xxxxxxxxxxxx
04/02/2008 06:59 PM
Please respond to
Web Enabling the AS400 / iSeries <web400@xxxxxxxxxxxx>
To
Web Enabling the AS400 / iSeries <web400@xxxxxxxxxxxx>
cc
Subject
Re: [WEB400] CGIDEV2 jobs...
Hi Shane,
I have a CGIDEV2 application that authenticates using %%CLIENT%%. On
V5R4, it puts the client's user ID as the Current User under WRKACTJOB.
I
have one user in the same application that has 5 separate jobs open. Is
there a way I can suppress this into one single job?
The issue is that the browser is making several simultaneous connections
to your System i.
Apache will certainly re-use the existing job with the same userid if it
can -- but if the existing job is busy, then it will start up a new job
to let two concurrent requests to be made from the browser. It's common
for a browser to make many simultaneous requests -- for example, if it's
showing a page with 10 images, the browser would typically attempt to
download all 10 images at once so that it can display them all at about
the same time.
So if that happens, you'd end up with 10 jobs for the userid, since it
needs separate jobs to handle each request.
I don't know of any way to "solve" this problem. Why would you want to?
Is it causing a problem?
As an Amazon Associate we earn from qualifying purchases.