You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to pywebsocket
Hi,
I build a apache+mod_pywebsocket environment just now. I'm a beginner
in websocket server development, I was wondering if I can use
something like "session" in C# in order to guarantee that each
connection in this application belongs to certain authenticated user
and "can't be" exploited by false user impersonation during the
connection? In other words, how could I implement login issue in
websocket server?
Thanks
Takeshi Yoshino
unread,
Sep 7, 2011, 8:50:05 AM9/7/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to pyweb...@googlegroups.com
I don't know much about ASP.NET's session, but you can use cookie on WebSocket as well as HTTP http://tools.ietf.org/html/rfc6265 to manage state between connections..
If your server passes some session token as a cookie to a browser, the browser sends it in WebSocket handshake to your server on the next visit.
Takeshi
GoliardWan
unread,
Sep 7, 2011, 9:26:41 AM9/7/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to pyweb...@googlegroups.com
Many thanks for your solutions. I will find out how to save and check cookie's id with client using python code on server.