Scala lift figuring out the session id

If you need to use the session id of the current session then it can be fetched from S.

S.containerSession.map(_.sessionId).openOr(""))