I found this line close to the top of  my default.py
session.flash=response.flash
Could be it ?

Best Regards
Itamar Cohen
Picatek
Ahornvej 27
DK-7700 Thisted
Denmark
www.picatek.dk
[email protected]
T: +45 97 91 07 82
M:+45 29 89 07 82

On 28 September 2015 at 01:29, Anthony <[email protected]> wrote:

> No, that code shouldn't set session.flash nor write to the session.
>
> On Sunday, September 27, 2015 at 5:51:50 PM UTC-4, icodk wrote:
>>
>> I got these two lines in my model
>> session.connect(request, response, separate=True)
>> user_timezone = session.plugin_timezone_tz or 'UTC'
>> Could this be a reason ?
>>
>>
>> Best Regards
>> Itamar Cohen
>> Picatek
>> Ahornvej 27
>> DK-7700 Thisted
>> Denmark
>> www.picatek.dk
>> [email protected]
>> T: +45 97 91 07 82
>> M:+45 29 89 07 82
>>
>> On 27 September 2015 at 21:50, Anthony wrote:
>>
>>> <Storage {'flash': ''}>
>>>
>>> Something is setting session.flash. Does any Auth code run during these
>>> requests, or is there any form processing with a redirect?
>>>
>>> Anthony
>>>
>>>
>>>
>>> On Sunday, September 27, 2015 at 2:51:49 PM UTC-4, icodk wrote:
>>>>
>>>> I just deleted the  session.forget() and very quickly got a lot of
>>>> sessions with about 47 bytes
>>>>
>>>> I attached one but I can't make sens of what inside
>>>>
>>>> Best Regards
>>>> Itamar Cohen
>>>> Picatek
>>>> Ahornvej 27
>>>> DK-7700 Thisted
>>>> Denmark
>>>> www.picatek.dk
>>>> [email protected]
>>>> T: +45 97 91 07 82
>>>> M:+45 29 89 07 82
>>>>
>>>> On 27 September 2015 at 20:24, Anthony wrote:
>>>>
>>>>> On Sunday, September 27, 2015 at 10:28:16 AM UTC-4, icodk wrote:
>>>>>>
>>>>>> No, nothing is write explicitly to the session (as far as I can see),
>>>>>> I only save the info to the database and return a string like "{}"
>>>>>> session.forget() looks like  solve the problem.
>>>>>>
>>>>>
>>>>> Hmm, something must be writing to the session somewhere, or otherwise
>>>>> session.forget() would make no difference. Without session.forget(), do 
>>>>> you
>>>>> see any content in the session after one of these requests?
>>>>>
>>>>> Anthony
>>>>>
>>>>> --
>>>>> Resources:
>>>>> - http://web2py.com
>>>>> - http://web2py.com/book (Documentation)
>>>>> - http://github.com/web2py/web2py (Source code)
>>>>> - https://code.google.com/p/web2py/issues/list (Report Issues)
>>>>> ---
>>>>> You received this message because you are subscribed to a topic in the
>>>>> Google Groups "web2py-users" group.
>>>>> To unsubscribe from this topic, visit
>>>>> https://groups.google.com/d/topic/web2py/8O6z1tOR2RM/unsubscribe.
>>>>> To unsubscribe from this group and all its topics, send an email to
>>>>> [email protected].
>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>
>>>>
>>>> --
>>> Resources:
>>> - http://web2py.com
>>> - http://web2py.com/book (Documentation)
>>> - http://github.com/web2py/web2py (Source code)
>>> - https://code.google.com/p/web2py/issues/list (Report Issues)
>>> ---
>>> You received this message because you are subscribed to a topic in the
>>> Google Groups "web2py-users" group.
>>> To unsubscribe from this topic, visit
>>> https://groups.google.com/d/topic/web2py/8O6z1tOR2RM/unsubscribe.
>>> To unsubscribe from this group and all its topics, send an email to
>>> [email protected].
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>> --
> Resources:
> - http://web2py.com
> - http://web2py.com/book (Documentation)
> - http://github.com/web2py/web2py (Source code)
> - https://code.google.com/p/web2py/issues/list (Report Issues)
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "web2py-users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/web2py/8O6z1tOR2RM/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to