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

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

问题描述

我很感兴趣,看看有什么人在我的会话和饼干存储,当我访问的网站。有什么办法,看看有什么在那里请求之间,当我在在Safari网页浏览器,或Firefox?

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?

推荐答案

在Firefox中,您可以在其他萤火虫用于检查饼干被来回发送。检查完整的请求和响应头的的网络的面板。饼干是present为设置Cookie 响应头每当会话开始和饼干请求头中的所有后续请求在同一会话中。

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:

(注意,我删除了用户从截图 cookie的值,否则别人将能够复制它,的登录我自己

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

您不能在客户端检查什么存储在服务器端的会话,因为这通常不是在cookie值暴露的任何方式。只有会话标识符存储为cookie的值。您可以在最高让基于跨请求该网站的行为的一些猜测。

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天全站免登陆