File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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


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

Joined: Jan 10, 2002
Posts: 63867

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

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
It's not a secret anymore!