在访问网站时如何检查自己的会话哈希值? [英] How do you inspect your own session hash when visiting a website?

查看:353
本文介绍了在访问网站时如何检查自己的会话哈希值?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有兴趣了解当我访问网站时,人们在我的会话和Cookie中存储的内容。是否有任何方法可以查看请求之间和我在Safari,Chrome或Firefox的网页上有什么?

解决方案

在Firefox中,您可以使用)



您无法以任何方式检入客户端,会话,因为它通常不会暴露在cookie值。只有会话标识符被存储为cookie值。您可以根据网站在所有请求中的行为,最高估计一些猜测。


I am interested to see what people are storing in my session and cookies when I visit websites. Is there any way to see what's in there between request and when I'm on pages in Safari, Chrome, or Firefox?

解决方案

In Firefox you can use among others Firebug to check the cookies being sent forth and back. Check the Net panel for complete request and response headers. The cookies are present as Set-Cookie response header whenever the session starts and as Cookie request header on all subsequent requests in the same session.

Here's a screenshot of the transferred headers when requesting this topic:

(note that I removed the user cookie value from the screenshot, else someone else would be able to copy it and login as myself)

You cannot check in the client side in any way what's been stored in the server side session since that's usually not exposed in the cookie values. Only the session identifier is stored as cookie value. You can at highest make some guesses based on the behaviour of the website across the requests.

这篇关于在访问网站时如何检查自己的会话哈希值?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆