Andreas
02/18/2022, 6:34 PMwebsolete
02/18/2022, 6:52 PMif( getApplicationMetadata()["sessionmanagement"] ) { .... sessions are enabled ... }
bdw429s
02/18/2022, 6:57 PMAndreas
02/18/2022, 6:57 PMbdw429s
02/18/2022, 6:58 PMAndreas
02/18/2022, 6:58 PMbdw429s
02/18/2022, 7:01 PMvar isSessionDefined = getApplicationMetadata().sessionManagement;
for all enginesAndreas
02/18/2022, 7:07 PMwebsolete
02/18/2022, 7:36 PMI've seen session scope being created just when a session var is set, e.g. session.userid, despite of session enabledi think what you're seeing in this case is implicit creation of a struct called 'session', which will go out of scope at the end of the request, not actually 'session scope'. misleading
bdw429s
02/18/2022, 7:38 PMvariables.session.userid
Andreas
02/18/2022, 8:58 PMzackster
02/19/2022, 2:48 PMisSessionEnabled()
Adam Cameron