I need to create a chat in Erlang.
Is there a way to share the session between PHP and Erlang applications ?
I need to create a chat in Erlang.
Is there a way to share the session between PHP and Erlang applications ?
Yes, it would require several conditions:
For PHP this means you should write your own handler for a session (see http://nl2.php.net/manual/en/function.session-set-save-handler.php), as far as I gather Erlang can use the same thing (well, the Erlang implementation is up to you).
The Erlang / PHP bridge may be used, but strictly speaking it is not necessary, it could save some work though.
Also of note: http://code.google.com/p/mypeb/wiki/ErlangAsSessionStorageForPHP