Question

We have an event monitor in our project which uses Lift Comet to show real-time events. And there is some query-based filtering for it, but the problem is that many monitor's pages opened in browser share same session, so i can't set up event filtering individually - all pages are using same query. Is there any ability to create actors per page, not per session?

Was it helpful?

Solution

You need to use the 'name' attribute when you instantiate the comet actor on the page. This should result in new actors being instantiated for each name. You can get at the name assigned to an actor through it's 'name' value.

Usually you'll get quicker & better answers on the Lift mailing list. No accuracy guarantees here ;-)

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top