5 ms·
no you don't unless authentication is needed. How is post request and cookie even related? It is simple web dev 101.
by 0df8dkdf 6y ago
no you don't unless authentication is needed. How is post request and cookie even related? It is simple web dev 101.
- TimWolla 6y agoYou need to store some kind of state if you want to protect the form from CSRF attacks. You usually want to protect the form.
- 411111111111111 6y agoYou don't need a cookie for that though... Even a window variable would suffice
- deleted 6y ago[deleted]