View session check

Signed-off-by: Marco Casella <marco.casella@gmail.com>