ok thanks, and what can i do now with the variable test in the first line. can i use this now in every function in each controller?
On 30 Jun., 15:12, mdipierro <mdipie...@cs.depaul.edu> wrote: > I think you want a session variable, not a global variable > > test=session.test > > def changingtest(): > session.test = 5 > return None > > On 30 Giu, 07:42, pk <peter.kirch...@youngdesigners.de> wrote: > > > hi together, > > > i need help to solve this problem: i have a global variable in the > > model like: > > > test = None > > > def changingtest(): > > global test > > test = 5 > > return None > > > how can i access to the variable test in every controllerfunction? > > thanks for your fast help > > > peter