session_deleteExpired
Deletes expired sessions.
Target
Signature
1session_deleteExpired()Deletes expired sessions.
session_deleteExpired is a global callable that can be used wherever an expression is valid. session_deleteExpired works with request identity or stored session state. Keep authorization checks close to the action they protect.
Examples
Basic call
1session_deleteExpiredThe example shows the normal call shape. Adapt variable names, validation, and surrounding error handling to the context.