Loading src/admin.cpp +5 −1 Original line number Diff line number Diff line Loading @@ -1985,9 +1985,13 @@ namespace authdb { try { cookie.parse(curreq); for (libhttppp::HttpCookie::CookieData *cur = cookie.getfirstCookieData(); cur; cur = cur->nextCookieData()) { std::cerr << "[CTRL] cookie: key='" << cur->getKey() << "' val='" << cur->getValue() << "'" << std::endl; if (cur->getKey() == "authdbid") { if (ssid.parse(cur->getValue()) == 0) { int rc = ssid.parse(cur->getValue()); std::cerr << "[CTRL] uuid parse rc=" << rc << " sid=" << ssid.c_str() << std::endl; if (rc == 0) { sdat = AuthSession->getSession(ssid); std::cerr << "[CTRL] getSession result=" << (sdat ? "found" : "null") << std::endl; } break; } Loading Loading
src/admin.cpp +5 −1 Original line number Diff line number Diff line Loading @@ -1985,9 +1985,13 @@ namespace authdb { try { cookie.parse(curreq); for (libhttppp::HttpCookie::CookieData *cur = cookie.getfirstCookieData(); cur; cur = cur->nextCookieData()) { std::cerr << "[CTRL] cookie: key='" << cur->getKey() << "' val='" << cur->getValue() << "'" << std::endl; if (cur->getKey() == "authdbid") { if (ssid.parse(cur->getValue()) == 0) { int rc = ssid.parse(cur->getValue()); std::cerr << "[CTRL] uuid parse rc=" << rc << " sid=" << ssid.c_str() << std::endl; if (rc == 0) { sdat = AuthSession->getSession(ssid); std::cerr << "[CTRL] getSession result=" << (sdat ? "found" : "null") << std::endl; } break; } Loading