Having trouble with this...
rpc:call('app@anothernode',module,function,args)
..from within a .yaws file.
('module' just returns an ehtml snippet)
The issue is I can't find where to set the erlang magic cookie in order to connect to the other node 'anothernode'.
If I start yaws with something like 'yaws -sname yaws' and then issue this...
erlang:set_cookie(node(),erlang_magic_cookie).
then sure I can ping the other node and then issue the rpc call (from within the yaws node ) and it connects and returns the snippet.
I've read the yaws doco pdf, searched the stackoverflow forums and googled it without success.
Question: how do I tell yaws that the erlang magic cookie is 'erlang_magic_cookie' ?
mbrain ?
thanks