how tf does session work