aspose file tools
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


Win a copy of OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
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 ?
 
Don't get me started about those stupid light bulbs.
 
subject: Session is never null.