I have two snippets Login and Profile, and I want to read same object
stored in session, when I use SessionVar it create two different
object:

object user extends SessionVar[Box[User]](Empty) // same in two
snippets

When I set this object in Login.scala :

 val usr = User.find(By(User.login,login))
user.set(usr)

in Profile it's still Empty

why?

--

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