Revisiting an issue with our FW/1 app subsystem. D...
# fw1
m
Revisiting an issue with our FW/1 app subsystem. Developer placed a call to setup subsystem in the before of the main controller. It does nothing more than set up session variables for the subsystem. Wondering what is the best place to set session bars for subsystem? Suggestion or best practice. Setup session does not have the framework services available yet so that didn’t work. So you know what was attempted.
s
I guess it depends; I would need more info on what is setup. My initial thought is the controller before is the wrong location and setupSession is more logical as the former is called upon every request and the latter is only upon the session creation - but I don't know what framework dependencies are not available at the setupSession layer.