[erlang-questions] possible to use cowboy with websockets in current master?

Wes James <>
Wed Jan 23 16:48:26 CET 2013


I'm using a simple cookie mechanism for the login process.  When a proper
username and password are entered, set a cookie and when they log out,
remove the cookie.  I'm not sure of all the capabilities of the cowboy
cookie functions.

Wes


On Tue, Jan 22, 2013 at 11:15 PM, Alex Babkin <> wrote:

> Thanks Wes, this looks like an awesome project/example
>
> Got another specific question while i'm at it:
>
> Is it possible to modify cookies while maintaining a websocket connection
> or do i pretty much have to set cookies with regular (non-websocketed)
> handler? (seems like that's whats done in esysman)
> I'm looking at potential ways to implement authentication and persist it
> in cookies
>
>
>
>
> On Tue, Jan 22, 2013 at 10:26 PM, Wes James <> wrote:
>
>> The following project uses cowboy master and websockets:
>>
>> https://github.com/comptekki/esysman
>>
>> It is a systems management console for doing admin stuff to
>> windows/linux/macs systems.
>>
>> The web interface talks to a controller on the admin workstation via
>> websockets which sends commands to all the workstations/receives info back
>> from workstations via erlang app on each workstation.
>>
>> I noticed that Loïc will be talking about websockets at
>> http://erlangdc.com/
>>
>> wes
>>
>>
>> On Tue, Jan 22, 2013 at 4:00 PM, Alex Babkin <> wrote:
>>
>>> Hi
>>>
>>> Anyone knows if the websockets are functional in the current cowboy
>>> master? I used 0.6 branch but would like to upgrade asap to ensure
>>> compatibility with upcoming 0.8. Any examples of the new interface usage?
>>> (doesn't look like examples/ contains anything websocket specific)
>>>
>>> Thanks
>>>
>>> _______________________________________________
>>> erlang-questions mailing list
>>> 
>>> http://erlang.org/mailman/listinfo/erlang-questions
>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20130123/5a38d8b2/attachment.html>


More information about the erlang-questions mailing list