Share this page

# Example: lr_abort

In the following example, lr_error_message sends a message to the output window or log file if the login fails. lr_abort is then invoked to abort the script.

    int status;

    status = web_url("Login",
              "URL=https://secure.computing.com//login.asp?user=(username)&session={ssid}",
              "RecContentType=text/html", LAST );

    if (status == LR_FAIL) {
    	lr_error_message("Error: %s", "Unable to login to secure computing");
            lr_abort();
    }

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: