This question is a bit popular but Im not having such luck. Im mostly a backend person so Im learning as I go along.
I have a cookie named connect.sid and v
I know that answer is not exactly what you want, but if you just want to authorize someone on the serverside i have an easy solution. Just add
credentials: 'same-origin'
to your AJAX request. If you have done that the cookie will get send with your connect.sid to the server and the server will handle the authentification for you.