For such thing here is a generic Solution
Create a class file.... In whatever language u want...
This class file will contain global Variable application wide.... Say name it GlobalClass.vb
Then When you are in your very first form of you application
Create an instance of that class like dim myGlobal as new GlobalClass
set all parameters. Put it into session.
create a session("global") = myGlobal
From now onwards where ever you want you can just call it as dim myGlobal as GlobalClass= session("global").
If you are looking in for performace then you have to write it into an application variable. Which can be defined in your web.config or any such places...
Hope this helps you....