testing for session scope variable

Signed-off-by: daniel@efficio.us.com <daniel@efficio.us.com>