aspose file tools*
The moose likes Servlets and the fly likes HttpSessionContext Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "HttpSessionContext" Watch "HttpSessionContext" New topic


Bob Moranski
Ranch Hand

Joined: Nov 22, 2000
Posts: 177
Hi, I was wondering if anyone knows what HttpSessionContext is? What does it do? Also, the IDs within such HttpSessionContext, what do they identify? What do they mean?
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 12682
The original idea was that a HttpSessionContext would let you get at all sessions in an application. The ids would be the unique session ids.
Sun decided this represented a security risk and deprecated the whole class as of servlet API 2.1 (the previous API)

author of:

Java Resources at
Bob Moranski
Ranch Hand

Joined: Nov 22, 2000
Posts: 177
Thank you Bill!
I agree. Here's the link:
subject: HttpSessionContext
Similar Threads
How to get Servlet Context ?
Problem with session context.(Urgent)
How do you retrieve all the sessions?
How to integrate two web applications having two different context paths
Get previous session with the Session Id