set sessions options