开发者

Session from browser, readable in external application

Is it possible to read out the session variable from your browser in some external program?

What i mean is the following.

I write a application ( c# , WPF/Winforms ). And read out the session from my browser, i have the name of the session variable. So i can call the specific session variable itself.

Is this possible? I don't fin开发者_Python百科d very much on the internet about this topic.


The only information that you can get from the browser is the session id that is stored in a cookie.

You don't even need an external program for that, in Firefox for example: Tools > Options > Privacy > remove individual cookies, there you can view all cookies stored in the browser and their values.

The Session object and its variables is not available from the browser, it never leaves the server. The only way to get information out of the Session object would be for the web application to read it out and send it to the browser as part of a response.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜