This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Servlets and the fly likes Session is never null. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Servlets
Bookmark "Session is never null." Watch "Session is never null." New topic
Author

Session is never null.

dupla rastogi
Greenhorn

Joined: Sep 06, 2001
Posts: 1
I am using JSP-Sevlet model, on Tomact.
Whenever I do a HttpSession session = argobjReq.getSession(false);, I never get (session = null). Everytime, a new session is created with a different session-id.
So, How can I go about with the session-tracking? Am I missing out some setting in TomCat ?
 
GeeCON Prague 2014
 
subject: Session is never null.