No, I'm using http-only cookie with encrypted and encoded important info about user for it verification on server side. This cookie applied before websocket connection. This cookie is using for establish websocket connection. And this cookie using for authentication. User doesn't leave the page with WS long time and this cookie validity ends.
First answer is ideal solution for my problem. 24.07.2015 12:11 пользователь "Jan Henning Thorsen" <[email protected]> написал: > I suppose you can also transfer a new version of the session cookie over > the websocket, and then use document.cookie do write this new verified > cookie on the client side. > > -- > You received this message because you are subscribed to the Google Groups > "Mojolicious" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/mojolicious. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Mojolicious" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/mojolicious. For more options, visit https://groups.google.com/d/optout.
