HTTP.Servlet.Response.getCookie()

Signature

Object getCookie(String cookieName, String cookieValue, String domain, String path, int expiry)

Domain

Parameters

NameTypeDescription
cookieNameStringThe name of the cookie.
cookieValueStringThe cookie value.
domainStringOptional domain for the cookie.
pathStringOptional path for the cookie.
expiryintMax age for the cookie in seconds.

Returns

TypeDescription
cookieobject