ad_progress_bar_end (public)

 ad_progress_bar_end -url url \
    [ -message_after_redirect message_after_redirect ]

Defined in packages/acs-tcl/tcl/defs-procs.tcl

Ends the progress bar by causing the browser to redirect to a new URL.

Switches:
-url (required)
must be a properly encoded URL, such as returned by "export_vars"
-message_after_redirect (optional)
See Also:

Testcases:
No testcase defined.
Source code:
    util_user_message -message $message_after_redirect
    #
    # Using "ns_quotehtml" on the URL leads to overquoting, e.g., when running the
    # the end of install-from-repository.
    #
    ns_write "<script type='text/javascript' nonce='[security::csp::nonce]'>window.location='$url';</script>"
    ns_conn close
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: