开发者

Retrieve IP address from Tomcat session ID?

开发者 https://www.devze.com 2023-01-28 15:40 出处:网络
Based on how is generated the session ID by Tomcat, is there a way to retrieve the IP address of the client from her session ID, using some decoding tool/method?

Based on how is generated the session ID by Tomcat, is there a way to retrieve the IP address of the client from her session ID, using some decoding tool/method?

Using Tomcat 6.

NB: not sure it is r开发者_Python百科elevant / possible at all.

The question could be about "How is generated the Tomcat session ID, does the calculation use the client IP, and is there a way to get it back"

edit

In case it matters, this is for a one time use, the analysis of an old log file via a Tomcat 6 generated session id. We are not looking at an implementation that works over time.


As it isn't specified how Tomcat or any other container generates a sessionID the answer is 'no'.

0

精彩评论

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