On Feb 22, 2010, at 8:39 PM, Strom wrote:

> Thanks for responding Ross. Always helpful.
> 
> On Feb 22, 5:25 pm, Ross Mellgren <dri...@gmail.com> wrote:
>> Session scope is until the LiftSession expires (which is tied to the 
>> container session) and is longer.
> How does one determine the container session scope? Anywhere I can
> read up on this basic knowledge?

Well the precise details depend on the container, but most containers by 
default set a cookie called JSESSIONID that is used to maintain the session ID 
and the cookie last until browser logout. The server-side session data is 
usually kept alive 20 minutes from the most recent time a request used that 
session ID, but it's configurable in web.xml, and perhaps overridable in 
whatever container-specific config is available.

>> Request scope is during the "current page" which means the original page 
>> request and any associated AJAX callbacks and other function bindings.
> Does this include redirects to the same page with additional query
> parameters? I'm using this to search, and would like to have the query
> params so people can bookmark their search.
I don't believe it includes these. If you want something bookmarkable, you 
should explicitly place whatever parameters need to persist in the query string 
-- function mapping bindings are ephemeral, and even so the session would be 
expired by the time the bookmark was used.

> Thanks again!

No problem.

-Ross

-- 
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to lift...@googlegroups.com.
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en.

Reply via email to