SynopsisRedirect the user's browser to a new location. Prototype#include "webs.h" void websRedirect(webs_t wp, char_t *url); Parameters
DescriptionThe websRedirect procedure sends the user's browser to a new location. websRedirect sets the "Location" HTTP response header to the nominated url. Return ValueNone Examplegnssprintf(path, "http://%s/mypage.htm", websGetHostUrl()); websRedirect(wp, path); Stability ClassificationStable. See Also |