Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Servlets and the fly likes JSESSIONID Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "JSESSIONID" Watch "JSESSIONID" New topic
Author

JSESSIONID

MaheshS Kumbhar
Ranch Hand

Joined: Sep 24, 2009
Posts: 188
I read in Head First Servlets Jsp that, "when using cookies for session tracking, the name of the session tracking cookie must be JSESSIONID".
But I didn't get where do we set cookie name programatically to JSESSIONID?


I am slow but sure
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60053
    
  65

You don't. The container takes care of that for you.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JSESSIONID
 
Similar Threads
SCWCD - On Cookies
cookies and jsessionid
oh why not push another question
JSESSIONID mandatory name only in cookies not in url rewriting
reading SESSIONID header.