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

Reply via email to