How can we use session object?

I wonder if is there a better way to use session object in Rhodes project?