Share this page

# Example: web_set_option

In the following example, the web_set_option function sets the decoding and redirection options:

    // Disables decoding
    web_set_option("DecodeContent", "No", LAST );

    // Enables decoding
    web_set_option("DecodeContent", "Yes", LAST );

    // Disables redirection. If redirection is required in following action functions, a warning is issued.
    web_set_option("MaxRedirectionDepth", "0", LAST );

    // Sets the maximum redirection depth to 10.
    web_set_option("MaxRedirectionDepth", "10", LAST );

Tips to improve your search results... VuGen Function Reference Version 25.1-25.3 Function Reference 25.1-25.3 All View Local Help Center View Online Help Center Version: