aspose file tools*
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 Spring in Action this week in the Spring 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: 61433
    
  67

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

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: JSESSIONID