Closed exitmusic closed 12 years ago
Not sure how valid this solution is, but the following worked:
if (data.headers.cookie) {
data.cookie = parseCookie(data.headers.cookie);
data.sessionId = data.cookie['express.sid'];
// Only save the part of the session id accessible by req.sessionID
data.sessionId = data.sessionId.split(".")[0].split(":").pop();
}
Figure this out and I'll be halfway there.