This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
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
Author

HttpSessionContext

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?
Thanks!
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12792
    
    5
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)
Bill

------------------
author of:
Bob Moranski
Ranch Hand

Joined: Nov 22, 2000
Posts: 177
Thank you Bill!
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: HttpSessionContext