Node.js/Express: passing session ID not via cookie

I'm trying to create a set of REST API for communicating between Express and the Unity 3D game engine. But Unity's WWW class doesn't support cookies officially. (Looks like it DOES support cookies but it's undocumented)

So I want to pass the session ID to express as a GET/POST parameter.

EDIT: Question is: Is there any way to obtain the session data associated to given session ID?

Use the .get() method of the session store object. For example, put following code before app.use(app.router):

app.use(function(req, res, next) {
    var session_id = (req.body && req.body.sid) || req.query && req.query.sid
    req.sessionStore && req.sessionStore.get(session_id, function(err, session) {
        if (session) {
            // createSession() re-assigns req.session
            req.sessionStore.createSession(req, session)
        }
        return next()
    })
})