If we close the browser,when the specific user session is
active.Again if we open browse how to retrive it same
user??what code i have to da???

Answer Posted / rajender

hi ds is rajender .we hav uniq jsessionid cookie.if the
container remember our session so we set session time in
web.xml or in our application

web.xml:
<session-config>
<session-timeout>200</session-timeout>
</session-config>

Is This Answer Correct ?    2 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What steps are required to for an application migration from Struts1 to Struts2?

604


What is lookupdispatchaction?

551


What is the purpose of dispatcher result type?

549


What do you mean by dynaactionform?

544


What is the purpose of redirect result type?

568






How struts 2 validation works?

566


What is role of action class?

558


Can we integrate struts with spring?

585


Why it called struts?

555


What does it cost to replace struts?

494


What is the purpose of interceptors?

528


What is DynaActionForm?

595


Describe the basic steps used to create a tiles application?

548


Explain about struts relation to html tags?

543


What is the difference between plain-validator and field-validator?

515