On Aug 21, 9:27 am, Chris Miles <[email protected]> wrote:
> On 20/08/2009, at 10:28 PM, Kaukas wrote:
> > Recently I noticed that my pylons-based site sessions never timeout -
> > I can come back in a day and still stay logged in.
>
> > I am using Pylons 0.9.7 and Beaker 1.4.
>
> > production.ini:
>
> > ...
> > beaker.session.key = project_name
> > beaker.session.secret = project_secret
> > beaker.session.timeout = 30
>
> > This should be enough to be signed out in 30 seconds, right? But it
> > never happens.
>
> > What am I doing wrong? Maybe you would need some more info?
>
> I think it depends on your authentication middleware.  Is the  
> middleware using beaker?

Thank you for the right question. :)

Using repoze.who, actually repoze.what-quickstart.

Too bad they have nothing to do with Beaker and its timeout. I ended
up setting AuthTktCookiePlugin.timeout manually.

--
Regards,
Linas
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" 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/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to