Hi Miller,

It seems there's no another solution so I will use

<form target=window1  .....>

That case report of the cgi will be targeted to "window1"  , that is a
hidden frame or a window which was opened with jscript.

> Well, I don't see why you don't just send the client a confirmation that
the
> job has been started

I use a jscript for this purpose that deletes the text of the input field of
the form , and  use another frame with shtml that has  1-3 sec. refresh
time, and jscript in it with ssi-cgi , that will send back the new message
only , that will be appended  to the document.  (simple chat)

thanks for replying
Zol


----- Original Message -----
From: MILLER David R. <[EMAIL PROTECTED]>
To: Perl-Win32-Web (E-mail) <[EMAIL PROTECTED]>
Sent: Wednesday, June 12, 2002 12:35 PM
Subject: RE: form question


> Well, I don't see why you don't just send the client a confirmation that
the
> job has been started, whether or not the process returns any content.
> However, you can try returning a 204 header, although you may not get
> consistent behaviour from all browsers. The following works in a
non-parsed
> header environment.
>
> #Send back 204 header and close STDOUT
> print "HTTP/1.1 204 No Content\n\n";
> close STDOUT;
>
> ---------------FROM-------------------
> David R. Miller
> Programming Manager
> Medical Council of Canada
> [EMAIL PROTECTED]
> (613) 521-6012
> (613) 521-9722 (fax)
> -----------------------------------------
>
> Original message:
> Message: 1
> From: "Zol Bes" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Subject: form question
> Date: Wed, 12 Jun 2002 05:21:21 -0700
>
> Hi Lists,
>
> My cgi has created a html and I'd like to send a form from here.
> This form starts a cgi file that has only file-operations  jobs. (prints
> nothing to monitor)
>
> How can be accomplished, that after had the form been sent, the html site
> did not  navigate anywhere but stayed there , without refreshing.
>
> My idea would be using a new frame for the form , but maybe exists more
> elegant solution.
>
> thank in advance
>
> Zol
>
> _______________________________________________
> Perl-Win32-Web mailing list
> [EMAIL PROTECTED]
> To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
>

_______________________________________________
Perl-Win32-Web mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to