title: titanium alloy global functions
body: <p>i have a question, are the global functions set in alloy.js runs every time the app is started or every time a new window is open?</p>
  
  <p>because i actually would like to create a unique user id for the user and assign it a global variable so it can be used through the app but i ain't sure if it will re-create and re-assign the generated user id whenever the app tries to open another window or will it use same user_id that the app generated after instantiating the mobile app.</p>
  
  <p>hope someone could answer me. >.&lt;</p>