Adding module-specific session properties

Is there any supported way of adding to the built in Session properties (i.e session.props, not session.custom)?

I have some configuration stuff that would most naturally fit as session properties (to allow for binding support). I guess I can read/write to whatever session property keys I want, but I’d really like to provide schema information.

2 Likes

It doesn't look like it, no. It seems like a reasonable enough thing to enable modules to do (possibly gated behind a namespace or something), but nobody has asked for it to my knowledge so no such API exists.

4 Likes