Remove Cookie — Reference
Expire a named browser cookie through the server response.
Expire a named browser cookie through the server response.
Before you begin
Section titled “Before you begin”- An open Server Connect action. Runtime differences below refer to the installed Node.js and PHP implementations.
Remove Cookie
Section titled “Remove Cookie”Expire a named browser cookie through the server response.
Settings and execution
Section titled “Settings and execution”| Setting | Meaning |
|---|---|
| Name | The name of the cookie to remove. The cookie’s Domain and Path must also match the original cookie for reliable removal. |
Worked example
Section titled “Worked example”For a default-path test cookie, run Remove Cookie with its Name and inspect the expiry header and browser cookie list. For a custom Path or Domain, use a removal configuration that matches them; this inspector exposes only Name. An expired Set Cookie with matching scope can be used when needed.
Check the behavior and limits
Section titled “Check the behavior and limits”Removing a cookie on one path does not remove another cookie of the same name on a different path or domain. A previously received $_COOKIE snapshot may still describe the request that arrived before the deletion response; verify with a subsequent request.
Continue with a task
Section titled “Continue with a task”Use the Server Connect guides when you need the surrounding project, data-loading or form procedure.
Check your result
Section titled “Check your result”You can configure Remove Cookie deliberately and verify the result and failure behavior described in this reference.