|
At 12:12 04.09.2002 -0500, you wrote:
This is a multi-part message in MIME format. -- [ Picked text/plain from multipart/alternative ] Hi Everyone, When you guys write a CGI program, at the end of the program do you leave your physical files open? Or do you close them? I have been closing mine. What problems could I face if I leave them open verse's closing them each time?
That depends. If your CGI is the only program that opens the files, then let them open and return. The next request will be answered faster - with an activation group other than *NEW, of course. If other programs need exclusive access or re-arrange the data to heavily (so that displaying them at that stage makes no sense) then close them or set on LR before returning. best regards / Mit freundlichen Grüssen Anton Gombkötö Avenum Technologie GmbH http://www.avenum.com
As an Amazon Associate we earn from qualifying purchases.
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.