What is the difference between global.R & app.R. When will they get executed. Will the code specified in global.R executed for every session
I think this article is helpful for you. The code in global.R will only be run at startup of your application