× 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.



Charles

Why don't you send an example showing what you would do in both situations?
To keep it as simple as the others would you test for W or absence of W in
the *entry plist?

In the previous examples I don't have to do anything.  If the result of the
test is web I send back html.  If the result is workstation I send back a
screen. 

Why bother with an extra parameter when the solutions were so good? 

Jim






message: 1
date: Fri, 22 Dec 2006 13:13:32 -0500
from: "Charles St-Laurent" <dringpiece@xxxxxxxxxxx>
subject: Re: calling a program from ws or web

Hi!

Your methods to know if a program is called from a workstation or from a cgi
script are too complicated. All you have to do is to pass an additionnal
parameter to the called program...

This paramter could have the value 'W' for workstation or 'C' for cgi
script.

Too simple for you?

Charles




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.