This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes Servlets and the fly likes HttpSession implementation in 2.1 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "HttpSession implementation in 2.1" Watch "HttpSession implementation in 2.1" New topic

HttpSession implementation in 2.1

Amond Adams
Ranch Hand

Joined: Nov 28, 2000
Posts: 62
How does HttpSession now internally implement without explicitly utilizing getSessionID()(deprecated in 2.1)?
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13025
You can still get the ID of the session that belongs to your own servlet with getId()
Perhaps you are thinking of some other deprecated method?
I agree. Here's the link:
subject: HttpSession implementation in 2.1
It's not a secret anymore!