Why "SessionVars are almost always a bad idea IMHO" ?

On Feb 24, 9:54 pm, tiro <[email protected]> wrote:
> Hi,
>
> I had a similar discussion on this list a while ago.
>
> http://groups.google.com/group/liftweb/browse_thread/thread/69898fb51...
>
> I haven't found THE idiomatic answer in Lift. For now I'm using
> StatefulSnippets for the more complex cases; they work quite well.
> SessionVars are almost always a bad idea IMHO. For the simple cases I
> pass URL parameters around.
> The thing to remember is that the StatefulSnippet lifecycle is held
> together only by hidden fields whose value is posted back (as
> explained in the Lift book). So the user can easily work with
> different state sets (StatefulSnippets) in parallel on different tabs.
>
> Best wishes,
>
> Tim

-- 
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