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 / sitaram

we can mention the sessiontimeout(5min) in the
web.xml.suppose user will close the browser in the middle of
work. after 2 min again open the same site.
automatically,session is active.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is action chaining ?

634


Which model components are supported by Struts?

568


Which configuration files are used in struts?

527


What is the difference between requestaware and servletrequestaware interface?

580


What are best practices to follow while developing Struts2 application?

611






Why actionservlet is singleton in struts?

594


What are the classes used in struts?

626


What is the purpose of struts.xml in struct2?

679


What is the different actions available in struts?

546


What are the differences between http direct and http indirect?

472


Difference between struts and spring?

583


Are actions thread safe?

540


What are the some useful annotations introduced in struts2?

550


What is execute method in struts?

496


What does params interceptor?

535