Sprawdzanie sesji w JavaScript
var user = sessionStorage.getItem("userId")
Thanush Wijesinghe
var user = sessionStorage.getItem("userId")