我正在我的网站上的每个 post 方法上实现 CSRF 令牌。但是当我在不同的选项卡中访问我的网页时,令牌在两个页面和令牌不匹配上都会发生变化。我的令牌存储在 DOM 中,我正在使用 SESSION 匹配令牌。这个怎么解决。?
php security post csrf csrf-protection
我在div中加载一个php页面,想要在加载后检查div是否有html内容,但每次显示为空时,使用每种方法检查它是否有html但是没有得到任何结果.
html php ajax jquery
php ×2
ajax ×1
csrf ×1
csrf-protection ×1
html ×1
jquery ×1
post ×1
security ×1