简体   繁体   English

如何使用javascript读取JSESSIONID?

[英]how can i read JSESSIONID with javascript?

i tried lots of method to read that variable from cookie with javascript but cant do. 我尝试了很多方法来使用JavaScript从Cookie中读取该变量,但不能这样做。 Is there any special thing related with application server of Java that set cookie remotely? 与Java的应用程序服务器有关的任何特殊的东西都可以远程设置cookie?

Try a Fiddler2 . 尝试一个Fiddler2 The JSESSIONID may be transmitted with the HttpOnly flag. JSESSIONID可以与HttpOnly标志一起发送。 If so, a standardbrowser will not let you read that value. 如果是这样,则标准浏览器将不允许您读取该值。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM