wood burning stoves 2.0*
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
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: 61218
    
  66

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