3 ms·
Session cookies persist for the length of the session. That's still too long for a CSRF token. You should be generating a new one in every request that needs a
by onion2k 6y ago
Session cookies persist for the length of the session. That's still too long for a CSRF token. You should be generating a new one in every request that needs a token in the response.