Last Updated: February 25, 2016
·
890
· xiaoba

getCookie Javascript

function getCookie(name) {
    var r = document.cookie.match("\\b" + name + "=([^;]*)\\b");
    return r ? r[1] : undefined;
}

from tornado documentation