Hi folks,
I’m experiencing a strange issue with using the sessionStorage plugin. In my handler I use DI to inject the plugin like so:
/** Inject the ColdBox SessionStorage Plugin */
property name=“sessionService” inject=‘coldbox:plugin:SessionStorage’;
I then set some session variables in my handler:
sessionService.setVar(“userid”,rc.user.getUserID());
Within the view of that handler I can view the session variable, however when I browse to a different handler/view the session variable does not exist.
It seems like the session variables get blown away after a new request is started. Has anyone else ever experience this?
Thanks.
Nolan