aspose file tools*
The moose likes Sockets and Internet Protocols and the fly likes HTTP Sessions behavior Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "HTTP Sessions behavior" Watch "HTTP Sessions behavior" New topic
Author

HTTP Sessions behavior

Ryan McClain
Ranch Hand

Joined: Nov 27, 2010
Posts: 110
How does a Container like Tomcat identify a client as being 'the same client between requests'? Is this by sessionID?

If the client keeps two browser windows open that both visit the same servlet (therefore two threads exist), how come the exact same sessionID is being exchanged (and therefore causing multithreading problems)? Why does the Container treat the client as the same regardless of browser window?

Another question:
It is possible to steal someone's HTTP session, right? I have read online that certain vBulletin boards were exploited by some session exploit (I don't know of the details).
Is it also possible to steal someone's request?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: HTTP Sessions behavior