Title: RE: Stateful servlets?

Hi,

I have a few questions to add in this context. If a servlet is going to server many concurrent users, how do i keep track of each individual user and his session information within the servlet - know when he logs off and maintain his session information until then.

Thanks,
Mohan

    Hi :) I apologize if this subject has been covered before...

    Would someone be able to provide a URL that might explain how servlets
    maintain state?

    I've read up on Session Tracking, but I'm not sure I fully understand how it
    works.

    Please correct me if I'm wrong..

    1) A servlet is run in a single process..regardless of the # of requests
    made
    2) Those requests are handled concurrently
    3) Servlet stays in memory between requests

    Is all the state information automatically stored on the server side?
    Are Session Id's/Cookies only used to associate a particular session with a
    particular user?
    When we use the word 'Session Object', what exactly does that mean?

    I pray i haven't been too vague.

    My thanks in advance,

    Robert

    ___________________________________________________________________________
    To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
    of the message "signoff SERVLET-INTEREST".

    Archives: http://archives.java.sun.com/archives/servlet-interest.html
    Resources: http://java.sun.com/products/servlet/external-resources.html
    LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to