# Cookie

Discover the framework-neutral cookie returned by the storage.

A framework-neutral representation of a cookie to set on the response, returned [when you read the session cookies](/reference/sdk/php/api/storage/cookie-storage/get-response-cookies). It carries every field a response target needs, so you can map it onto your framework's response without losing information.

> **Looking for something specific?**
>
> Use the search bar at the top of the page or press `/` to quickly search through the documentation.

Use the summary below to quickly jump to a specific topic:

- [Constructor](/reference/sdk/php/api/storage/cookie/construct): Learn how to initialize a cookie.
- [getName](/reference/sdk/php/api/storage/cookie/get-name): Learn how to read the cookie name.
- [getValue](/reference/sdk/php/api/storage/cookie/get-value): Learn how to read the cookie value.
- [getExpiration](/reference/sdk/php/api/storage/cookie/get-expiration): Learn how to read the cookie expiration time.
- [getPath](/reference/sdk/php/api/storage/cookie/get-path): Learn how to read the cookie path.
- [getDomain](/reference/sdk/php/api/storage/cookie/get-domain): Learn how to read the cookie domain.
- [isSecure](/reference/sdk/php/api/storage/cookie/is-secure): Learn how to check whether the cookie is sent only over HTTPS.
- [isHttpOnly](/reference/sdk/php/api/storage/cookie/is-http-only): Learn how to check whether the cookie is hidden from client-side scripts.
- [getSameSite](/reference/sdk/php/api/storage/cookie/get-same-site): Learn how to read the cookie SameSite policy.
- [toSetCookieHeader](/reference/sdk/php/api/storage/cookie/to-set-cookie-header): Learn how to render the cookie as a Set-Cookie header value.
