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 is xml based validation in struts2?

562


What is the default location of result pages and how can we change it?

554


Provide some important Struts2 constants that you have used?

565


What is struts2 namespace?

511


What is difference between actionform and dynaactionform?

596






Where can I get a copy of struts?

542


How does struts2 token work?

531


Can you explain custom tag?

574


What is the purpose of form-be tag in struct-config.xml?

568


How many instances of servlet usually run in a struts application ?

544


What are the main classes which are used in struts application?

500


What does action do in struts?

539


Briefly tell the two kinds of form beans.

564


Why do we need struts?

544


What is apache struts used for?

494