Converted session life time to const

Signed-off-by: Tom Wright <tom@inflatablecookie.com>