Re: Can we control which CGI job is used?

Nathan Andelin <[email protected]> Tue, 23 Aug 2022 09:30:34 -0600
Newsgroups gmane.comp.systems.as400.web
Message-ID <CACCOLZn2u9OEC+VMWVhf-e0NCq65MTso2pNK4FEPAdghaOA47g@mail.gmail.com>
>
> I'm not sure what you mean about making the CGI persistent.


https://www.ibm.com/docs/en/i/7.3?topic=programming-writing-persistent-cgi-programs


> So that the program stays running within the job?


Yes. The job is dedicated to a single user. Program remains active. Files
remain open.


> That would mean extensive recoding
> and how would it help with multiple simultaneous http requests?


Multiple simultaneous HTTP requests are handled by multiple CGI jobs.
Similar to telnet. One user, one session, one job.

I doubt the interface would require substantial re-coding. But I may not
understand your use-case.
-- 
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing list
To post a message email: [email protected]
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/web400
or email: [email protected]
Before posting, please take a moment to review the archives
at https://archive.midrange.com/web400.