Remove Session — Reference
Remove a named value from the current server session.
Remove a named value from the current server session.
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 Session
Section titled “Remove Session”Remove a named value from the current server session.
Settings and execution
Section titled “Settings and execution”| Setting | Meaning |
|---|---|
| Name | The session key to remove, such as preferred_language. This removes one value, not every session key. |
Worked example
Section titled “Worked example”After storing preferred_language, run Remove Session with that Name. In a subsequent request using the same session, confirm that $_SESSION.preferred_language is no longer present.
Check the behavior and limits
Section titled “Check the behavior and limits”This is not a substitute for Security Logout. Use the provider’s logout action to end authentication rather than guessing which session key holds it.
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 Session deliberately and verify the result and failure behavior described in this reference.