× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: RE: HTTP Server's jobs for CGI applications
  • From: "Stone, Brad V (TC)" <bvstone@xxxxxxxxxxxxxx>
  • Date: Fri, 14 Jul 2000 09:49:12 -0500

Bob,

You'll need to use some sort of persistence.  Cookies would probably be the
easiest.  Then you can key your temp file by this cookie value (like a user
id or something that they sign on with). 

Not only will this eliminate a job per hit, but it's very easy to do.

Brad

> -----Original Message-----
> From: Bob Cozzi [mailto:bobcozzi@attglobal.net]
> Sent: Friday, July 14, 2000 8:33 AM
> To: MIDRANGE-L@midrange.com
> Subject: HTTP Server's jobs for CGI applications
> 
> 
> I'm a little confused, perhaps people on this list would know 
> for certain
> what's happening.
> 
> Does the HTTP server on the AS/400 create a new job for each 
> user of the web
> site. Specifically, I'm trying to determine if a CGI program 
> that is called,
> can create a temporary object in QTEMP and use it. My concern 
> is that if
> another user enters the same page at the same time, they will 
> be colliding
> with previous user's temporary objects.
> 
> If each user is routed to a distrinct job on the AS/400, then 
> I don't have a
> problem.
> 
> My situation is that I need to create either an outfile or a 
> user space that
> is unique for a CGI evocation. I'm worried that if every CGI 
> request is run
> in the same job, then everyone would see the same temp 
> objects. This would
> be bad. So I need a way to create temp objects that are 
> unique for each CGI
> request.
> 
> Caveat: On the otherside of the coin, if each request is in a 
> distinct job,
> how many jobs are created on an AS/400 when there's a million 
> hits per day?
> 
> Bob Cozzi
> 
> +---
> | This is the Midrange System Mailing List!
> | To submit a new message, send your mail to MIDRANGE-L@midrange.com.
> | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
> | To unsubscribe from this list send email to 
> MIDRANGE-L-UNSUB@midrange.com.
> | Questions should be directed to the list owner/operator: 
> david@midrange.com
> +---
> 
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.