you have to create a session by using request.getSession(). Once you are creating sessions, then they will show up in manager.
see <session-timeout> in web.xml to decrease the session timeout. Charlie > -----Original Message----- > From: Steve Wong [mailto:[EMAIL PROTECTED]] > Sent: Monday, July 08, 2002 11:03 PM > To: Tomcat Users List > Subject: RE: Using MANAGER for servlets in ROOT > > > > I find that accessing jsp will always cause 1 session increment to be > shown in the list and sessions command. And that session > will be there > although the execution is finished(May be until 30min inactive). > However, if I access servlet instead of jsp, I can't see any session > increment shown. > > Do anyone know why? > Where can I change the default 30min inactive value to a smaller one? > > Thx. and Regards. > Steve. > > -----Original Message----- > From: FRANK WELCH [mailto:[EMAIL PROTECTED]] > Sent: Monday, July 08, 2002 8:58 PM > To: [EMAIL PROTECTED] > Subject: Using MANAGER for servlets in ROOT > > Hi I have spent so much time trying to manage servlets in the ROOT > context. > > I can see servlets, using List and Sessions command in the Examples > context, but never see any of MY sessions that run under root. > > List always says "0" sessions running under context / even when I am > quite certain the servlets are running (they are > communicating with apps > on the network and sniffer shows the traffic) > > Is there something special I need to do, to see my ROOT > servlet sessions > with List and Sessions commands? > > Thanks, > > Frank > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>