Thanks Indrajit for the quick response!

On Sun, Sep 6, 2009 at 4:22 PM, Indrajit Raychaudhuri
<indraj...@gmail.com>wrote:

>
> object FooVar extends SessionVar[Box[String]](Empty)
>
> // to set
> FooVar.set(Full(fooValToSet))
>
> // to retreive
> val foo = FooVar.is.openOr("Not found")
>
> Cheers, Indrajit
>
> On Sep 7, 12:36 am, jack <jack.wid...@gmail.com> wrote:
> > How do I put something in the session from one page and take it out
> > from another page?
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@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