H
H
hobu4ok912017-01-31 04:29:32
JavaScript
hobu4ok91, 2017-01-31 04:29:32

How to use js to check if the "PHPSESSID" cookie has been created?

If you look in the browser in developer mode, this cookie hangs. But

console.log(document.cookie) выводит пустую строку.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
X
xmoonlight, 2017-01-31
@hobu4ok91

It means it is protected from JS by the secured (http only) flag

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question