What is session management in Java ?

Posted by Sarang on Stack Overflow See other posts from Stack Overflow or by Sarang
Published on 2010-06-18T05:28:32Z Indexed on 2010/06/18 5:33 UTC
Read the original article Hit count: 383

I have faced this question in my Interview as well. I do have many confusion with Session Scope & it management in java.

In web.xml we do have the entry :

<session-config>
        <session-timeout>
            30
        </session-timeout>
</session-config>

What does it indicate actually ? Is is scope of whole project ?

Another point confusing me is how can we separate the session scope of multiple request in the same project? Means if I am logging in from a PC & at the same time I am logging in from another PC, does it differentiate it ?

Also, another confusing thing is the browser difference. Why does the different Gmails possible to open in different browsers ? And Gmail can prevent a session from Login to Logout. How is it maintained with our personal web ?

© Stack Overflow or respective owner

Related posts about java

Related posts about session