FORMREDIRWAIT (JANUS DEFINE parameter): Difference between revisions

From m204wiki
Jump to navigation Jump to search
mNo edit summary
m (remove displaytitle)
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{DISPLAYTITLE:FORMREDIRWAIT}}
<span class="pageSubtitle">FORMREDIRWAIT seconds &mdash; seconds to wait for browser to process redirect</span>
<span class="pageSubtitle"><section begin="desc" />FORMREDIRWAIT seconds -- seconds to wait for browser to process redirect<section end="desc" /></span>


<var>FORMREDIRWAIT</var> is a parameter on [[JANUS DEFINE]], which defines and sets characteristics of a Janus port. See the [[JANUS DEFINE#parmlist|List of JANUS DEFINE parameters]].
<var>FORMREDIRWAIT</var> is a parameter on <var>[[JANUS DEFINE]]</var>, which defines and sets characteristics of a Janus port.  


Indicates the default number of seconds to wait for the client on a WEBSERV port (presumably a browser) to do the GET associated with a redirect generated by a [[$Web_Form_Done]] call.  
Indicates the default number of seconds to wait for the client on a <var>[[JANUS DEFINE#type|WEBSERV]]</var> port (presumably a browser) to do the GET associated with a redirect generated by a [[$Web_Form_Done]] call.  


Since browsers typically respond immediately to a redirect by doing a GET for the target URL without any user interaction, the time between a redirect and the GET should typically be very small. The default value for <var>[[FORMPOSTWAIT (JANUS DEFINE parameter)|FORMPOSTWAIT]]</var> is 50, which should be more than enough to handle the slowest browser running on the slowest machine with the slowest network connection: if the GET isn't received within 60 seconds of a redirect, it is not likely to appear at all.  
Since browsers typically respond immediately to a redirect by doing a GET for the target URL without any user interaction, the time between a redirect and the GET should typically be very small. The default value for <var>[[FORMPOSTWAIT (JANUS DEFINE parameter)|FORMPOSTWAIT]]</var> is 50, which should be more than enough to handle the slowest browser running on the slowest machine with the slowest network connection: if the GET isn't received within 60 seconds of a redirect, it is not likely to appear at all.  
Line 10: Line 9:
The value for <var>FORMREDIRWAIT</var> must be between 1 and 32767, inclusive, and it can be overridden by a <var>FORMREDIRWAIT</var> parameter in a JANUS WEB ON rule or by an explicit redirect wait time on a $Web_Form_Done call.  
The value for <var>FORMREDIRWAIT</var> must be between 1 and 32767, inclusive, and it can be overridden by a <var>FORMREDIRWAIT</var> parameter in a JANUS WEB ON rule or by an explicit redirect wait time on a $Web_Form_Done call.  


Valid only for WEBSERV ports.
Valid only for <var>WEBSERV</var> ports.


==References==
==See also==
<ul>
<li>[[List of Janus commands]]
<li>[[JANUS DEFINE#parmlist|List of JANUS DEFINE parameters]]
</ul>


See: [[List of Janus commands]] | [[JANUS DEFINE#parmlist|List of JANUS DEFINE parameters]].


[[Category:JANUS DEFINE parameters|FORMREDIRWAIT]]
[[Category:JANUS DEFINE parameters|FORMREDIRWAIT]]

Latest revision as of 17:55, 8 June 2016

FORMREDIRWAIT seconds — seconds to wait for browser to process redirect

FORMREDIRWAIT is a parameter on JANUS DEFINE, which defines and sets characteristics of a Janus port.

Indicates the default number of seconds to wait for the client on a WEBSERV port (presumably a browser) to do the GET associated with a redirect generated by a $Web_Form_Done call.

Since browsers typically respond immediately to a redirect by doing a GET for the target URL without any user interaction, the time between a redirect and the GET should typically be very small. The default value for FORMPOSTWAIT is 50, which should be more than enough to handle the slowest browser running on the slowest machine with the slowest network connection: if the GET isn't received within 60 seconds of a redirect, it is not likely to appear at all.

The value for FORMREDIRWAIT must be between 1 and 32767, inclusive, and it can be overridden by a FORMREDIRWAIT parameter in a JANUS WEB ON rule or by an explicit redirect wait time on a $Web_Form_Done call.

Valid only for WEBSERV ports.

See also