A sessionStorage interface for cookies