How to parse a global variable trough the views?

hello
i have a problem

because i need to filter the data of several tables, and the conditions
that i need must be global variables that i initialize at start the
applications…

if anybody know how to do it, please tell me…

tanks