ad_unset_cookie (public)

 ad_unset_cookie [ -secure secure ] [ -domain domain ] [ -path path ] \
    [ -samesite samesite ] name

Defined in packages/acs-tcl/tcl/utilities-procs-naviserver.tcl

Un-sets a cookie.

Switches:
-secure (optional, defaults to "f")
-domain (optional)
-path (optional, defaults to "/")
-samesite (optional, defaults to "lax")
Parameters:
name (required)
See Also:

Partial Call Graph (max 5 caller/called nodes):
%3 test_fs_create_folder fs_create_folder (test file-storage) ad_unset_cookie ad_unset_cookie test_fs_create_folder->ad_unset_cookie acs::icanuse acs::icanuse (public) ad_unset_cookie->acs::icanuse ad_user_login ad_user_login (public) ad_user_login->ad_unset_cookie ad_user_logout ad_user_logout (public) ad_user_logout->ad_unset_cookie cookieconsent::reset_cookie cookieconsent::reset_cookie (public) cookieconsent::reset_cookie->ad_unset_cookie lang::user::site_wide_locale_not_cached lang::user::site_wide_locale_not_cached (private) lang::user::site_wide_locale_not_cached->ad_unset_cookie

Testcases:
fs_create_folder
Source code:
    if {[::acs::icanuse "ns_deletecookie -samesite"]} {
        ns_deletecookie -domain $domain -path $path -replace t -secure $secure -samesite $samesite -- $name
    } else {
        ns_deletecookie -domain $domain -path $path -replace t -secure $secure -- $name
    }
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: