added Session scope

fixes ticket 2226