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
trueorfalse.
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
REMOVECOOKIEto work correctly, you must supply the same values for these parameters as you did for theSETCOOKIEcall that originally created the cookie.
Description
The
REMOVECOOKIEtag deletes a cookie from the client browser.REMOVECOOKIEmust 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
errnofor this tag.Example
This example deletes the cookie
mycookiefrom the client browser.
<REMOVECOOKIE NAME="mycookie" SECURE = "false"/>See Also
Home > Contents > Index > ![]()
Oracle XML Tag Reference
Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.