[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] AppleScript Wrapper for MacPerl acgi



Thanks to all: I now understand the behavior of the CGI glue better than I
did and I can drop my AppleScript wrapper project: it provides precisely
zero benefit.

I posted:

>>On my system: MacOS 7.5.5, WebSTAR 1.2, MacPerl 5.1.9r4,
>>requests are DROPPED not QUEUED.  By inserting a thin AppleScript wrapper

...and Chris Nandor responded:

>Are you using .ACGI or .CGI?  .CGI is a better choice for you, probably.
>Then the server (most servers) will queue ALL requests, not just .CGI
>requests.

I had been using .acgi, because I had hoped to use the server push feature
to deliver large amounts of slowly generated data a little at a time to
avoid Server Timeout (which can be solved by reconfiguring the server) and
User Despair (which may be solvable by warning the user).

However, given the system I am using, a hit to an .acgi which occurs while
another Perl script is running is dropped (unacceptable), whereas a hit to
a .cgi under those circumstances is queued (acceptable).

Going through an AppleScript wrapper solves the .acgi problem but also
removes its benefit - a pointless exersize.  I would be very interested in
anyone elses experiences with .cgi and .acgi on other servers, including
other versions of WebSTAR, because:

1) there may be circumstances where the AppleScript wrapper would be helpful,

2) there may be servers on which an .acgi can be safely used.  On mine, it
cannot.

Thanks again!

-David-


David Steffen, Ph.D.
President, Biomedical Computing, Inc. <http://www.biomedcomp.com/>
Phone: (713) 610-9770 FAX: (713) 610-9769 E-mail: steffen@biomedcomp.com



***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch