You have to know the session... from within your Actor: case MyMessage(stuff) => S.initIfUninitted(session) { access SessionVars from here }
Thanks, David On Mon, Oct 5, 2009 at 4:10 PM, Timothy Perrett <timo...@getintheloop.eu>wrote: > > Hey guys, > > Been playing with this for a little while now and I cant remember what > the scenario is for setting sessionvars from an actor? (thats a plain > actor, not a comet actor) > > I remember there is some issue, but its so late here that it escapes > me....? What's the best practice? If there isn't one, they I guess > i'll just do something with the query string or url parameter (its > just a value but id prefer to not display it to the user) > > 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 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 -~----------~----~----~----~------~----~------~--~---