Home > Contents > Index >
REMOVECOOKIE
Deletes a cookie from the client browser.
Syntax
<REMOVECOOKIE NAME="COOKIE_NAME"/> SECURE="SECURE_VAL" [URL="URL_PATH"] [DOMAIN="DOMAIN_NAME"]/>Parameters
NAME (required)
- Name of the cookie to delete.
SECURE (required)
- Indicates whether security is set on this cookie. Possible values are
true
orfalse
.
URL (optional)
- Valid URL. This value restricts the deleting of the cookie from the client to this URL only.
DOMAIN (optional)
- Valid domain name. This value restricts the deleting of the cookie from the client to addresses in this domain only.
Note
For
REMOVECOOKIE
to work correctly, you must supply the same values for these parameters as you did for theSETCOOKIE
call that originally created the cookie.
Description
The
REMOVECOOKIE
tag deletes a cookie from the client browser.REMOVECOOKIE
must appear before any tag that streams back data on the page or the cookie is not deleted. This is an HTTP requirement.Error Numbers
There are no possible
errno
for this tag.Example
This example deletes the cookie
mycookie
from the client browser.
<REMOVECOOKIE NAME="mycookie" SECURE = "false"/>
See Also
Home > Contents > Index > ![]()
Oracle XML Tag Reference
Copyright (c) 2013, 2018, Oracle and/or its affiliates. All rights reserved.