I need to save some global variables (specifically to store connection to external db).
Official documentation to proposes offers two solutions: sessions and database