Not solved :(

2012/6/6 Scott Gelin <[email protected]>

> I haven't had any issues with sessions, but I have read that if you do not
> explicitly set web.config.debug = False there could be issues.  It doesn't
> look like you do that in the code snippet, I would set that below your
> import statements
>
> On Tue, Jun 5, 2012 at 10:02 PM, Mauro Alexandre <[email protected]>wrote:
>
>> 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.
>>
>
>  --
> 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.
>

-- 
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