fixed session bug

Signed-off-by: hemant99911 <hemant99911@gmail.com>