FORMREDIRWAIT (JANUS DEFINE parameter)

From m204wiki
Revision as of 22:33, 29 February 2012 by JALWiccan (talk | contribs) (1 revision)
Jump to navigation Jump to search

<section begin="desc" />FORMREDIRWAIT seconds -- seconds to wait for browser to process redirect<section end="desc" />

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