Vérification de la session dans JavaScript
var user = sessionStorage.getItem("userId")
Thanush Wijesinghe
var user = sessionStorage.getItem("userId")