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?

有帮助吗?

解决方案

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

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top