Example: http://dpaste.com/755799/

2012/6/5 Mauro Alexandre <[email protected]>

> Sorry my english, i speak portuguese (pt_br).
>
> I have one session in code.py
>
> session = web.session.Session(app,
> web.session.DiskStore(os.path.join(curdir,'sessions')),initializer={'loggedin':
> False,'user': None})
>
> When i set values in session.loggedin or session.user , works fine in
> print(session).
>
> Buth i have another method "GET", i try use session vars but session vars
> is None or default value.
>
> print(session.logged) = False
> print(session.user) = None
>
> The session not persist in other methods.
>
> I need help, thanks !
>

-- 
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/webpy?hl=en.

Reply via email to