Tim,

By default, Lift sessions last as long as the contain keeps sessions alive
(usually 15-30 minutes).

LiftSession.inactivityLength determines when the session gets timed out,
unless the container times it out first.

Thanks,

David

On Fri, Oct 2, 2009 at 9:58 AM, Timothy Perrett <[email protected]>wrote:

>
> Guys,
>
> Im building an application that works with Twitter OAuth - in order to
> do that, i make requests to twitter and get various tokens and hold
> them in a session var.
>
> However, it appears (looking at my logs) that when the user is bounced
> out to twitter.com for the authentication the session in my lift app
> is expiring, thus my session vars are then Empty when the user
> returns.
>
> I had a poke in LiftRules, but there appears to be nothing directly
> indicating how to set a session timeout explicitly. Any suggestions on
> how I could extend it? (or just stop it expiring straight away)
>
> Cheers, Tim
> >
>


-- 
Lift, the simply functional web framework http://liftweb.net
Beginning Scala http://www.apress.com/book/view/1430219890
Follow me: http://twitter.com/dpp
Surf the harmonics

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Lift" 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/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to