Looking up Context

12 views
Skip to first unread message

afshin afzali

unread,
Mar 31, 2013, 5:17:22 AM3/31/13
to zotoni...@googlegroups.com
Hi Guys,

I need to save some context Id. some where (i.e. ets) in my custom erlang module and be able to looking it up later to emit a signal on it. I think that storing the context as a whole and using it in future should not be a good idea ! I have checked z_context module but could not find any useful method.

appreciate,
Afshin

Behrad Zari

unread,
Apr 5, 2013, 11:34:20 AM4/5/13
to zotoni...@googlegroups.com
I consider you are willing to do something with specific sessions in your module, for this you can use  z_session_manager iteration functions like
 z_session_manager:foreach to map your specific functions on specific sessions. 
Reply all
Reply to author
Forward
0 new messages