Skip to content

Set Session — Reference

Reference · Advanced · Server Connect

Store a value in this visitor’s server session.

Store a value in this visitor’s server session.

  • An open Server Connect action. Runtime differences below refer to the installed Node.js and PHP implementations.

Store a value in this visitor’s server session.

Setting Meaning
NameThe session key to write, for example preferred_language.
ValueThe evaluated value to store. Read it in later server requests as $_SESSION.preferred_language when the same session is retained.

Write Name preferred_language and Value en. In a later request from the same browser session, return the corresponding $_SESSION value in a temporary test action and confirm it is en. Check a separate session to confirm it does not share the value.

Server sessions are different from App Connect Session Manager, which uses browser sessionStorage. Setting a session key is not a Security Provider login. Session middleware, cookies and session expiry determine persistence.

Use the Server Connect guides when you need the surrounding project, data-loading or form procedure.

You can configure Set Session deliberately and verify the result and failure behavior described in this reference.