Hi Christian,

I tried to delete my post before you see it but i guess it was too late :) 
Sorry about that.

I noticed it's my extension that caused the issue. I tried disable 
extension and it works flawlessly. 

In Django, there's another setting called SESSION_SAVE_EVERY_REQUEST, which 
extends the session based on last activity. Do you know if Reviewboard 
supports that?

Thanks,
Kevin
On Monday, September 18, 2017 at 5:30:43 PM UTC-7, Christian Hammond wrote:
>
> Hi Kevin,
>
> I'm not able to reproduce this. Can you send more of the stack trace? I 
> don't need to see any of the expanded "Local vars" (at least not yet), but 
> need to see every line of code being shown in the trace.
>
> Thanks,
>
> Christian
>
> On Mon, Sep 18, 2017 at 5:24 PM, Kevin Yu <[email protected] <javascript:>
> > wrote:
>
>>
>> <https://lh3.googleusercontent.com/-Dh7WFQhHhyw/WcBh0i_j5SI/AAAAAAAADw0/WYNTQGOxjXEx5ERFt_fgmGHXZcViKkqzQCLcBGAs/s1600/exception.bmp>
>>
>>  Christian,
>>
>> Thanks for sharing. Looks like that's the Django native setting. I've 
>> tried it and it does expires the session after specified time. However, 
>> once the session expires, instead of showing the login page, it throws an 
>> exception:
>>
>>
>> <https://lh3.googleusercontent.com/-Dh7WFQhHhyw/WcBh0i_j5SI/AAAAAAAADw0/WYNTQGOxjXEx5ERFt_fgmGHXZcViKkqzQCLcBGAs/s1600/exception.bmp>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> On Wednesday, September 13, 2017 at 2:32:13 PM UTC-7, Christian Hammond 
>> wrote:
>>>
>>> Hi Kevin,
>>>
>>> Sessions default to lasting 1 year. You can customize this by adding the 
>>> SESSION_COOKIE_AGE setting to your $sitedir/conf/settings_local.py file, 
>>> like:
>>>
>>>
>>> SESSION_COOKIE_AGE = 365 * 24 * 60 * 60  # 1 year
>>>
>>>
>>> Christian
>>>
>>> On Wed, Sep 13, 2017 at 1:37 PM, Kevin Yu <[email protected]> wrote:
>>>
>>>> I have a question about Reviewboard login session. I've noticed i never 
>>>> have to login again after inactive for a long period of time. Just 
>>>> wondering how long would the session expire, if at all?
>>>>
>>>> Is there a setting to set this?
>>>>
>>>> -- 
>>>> Supercharge your Review Board with Power Pack: 
>>>> https://www.reviewboard.org/powerpack/
>>>> Want us to host Review Board for you? Check out RBCommons: 
>>>> https://rbcommons.com/
>>>> Happy user? Let us know! https://www.reviewboard.org/users/
>>>> --- 
>>>> You received this message because you are subscribed to the Google 
>>>> Groups "reviewboard" 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.
>>>>
>>>
>>>
>>>
>>> -- 
>>> Christian Hammond
>>> President/CEO of Beanbag <https://www.beanbaginc.com/>
>>> Makers of Review Board <https://www.reviewboard.org/>
>>>
>> -- 
>> Supercharge your Review Board with Power Pack: 
>> https://www.reviewboard.org/powerpack/
>> Want us to host Review Board for you? Check out RBCommons: 
>> https://rbcommons.com/
>> Happy user? Let us know! https://www.reviewboard.org/users/
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "reviewboard" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Christian Hammond
> President/CEO of Beanbag <https://www.beanbaginc.com/>
> Makers of Review Board <https://www.reviewboard.org/>
>

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" 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