session_end
Ends a session.
Target
Signature
1session_end(...)Ends a session.
session_end is a global callable that can be used wherever an expression is valid. session_end works with request identity or stored session state. Keep authorization checks close to the action they protect.
Parameters
...- Additional values may be supplied after the earlier arguments.
Examples
Basic call
1session_end('sid')The example shows the normal call shape. Adapt variable names, validation, and surrounding error handling to the context.