websSetEnv GoAhead WebServer API GoAhead EMF

Synopsis

Set the Form variable environment for a request.

Prototype

 #include "webs.h" 
 
 void websSetEnv(webs_t wp); 

Parameters

wp Web server connection handle.

Description

The websSetEnv procedure creates the Form variable environment for a request. It is called automatically by the URL handler manager before calling the URL handlers. URL handlers may wish to call websSetEnv after modifying certain request values. For example, after modifying the request path via websSetPath, websSetEnv must be called to redfine the PATH_INFO variable.

See websExpand for a list of form environment variables.

Return Value

None

Example

 
websSetEnv(wp); 

Stability Classification

Stable.

See Also

Standard form variables, websGetVar, websSetVar, websTestVar