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???

Answers were Sorted based on User's Feedback



If we close the browser,when the specific user session is active.Again if we open browse how to ret..

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

If we close the browser,when the specific user session is active.Again if we open browse how to ret..

Answer / ramkiran v

I think we can use Cookies to store the browser data. Don't
know exact code, Can any one write code that would be great.

Is This Answer Correct ?    1 Yes 1 No

If we close the browser,when the specific user session is active.Again if we open browse how to ret..

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

If we close the browser,when the specific user session is active.Again if we open browse how to ret..

Answer / , whenever a new

, whenever a New

Is This Answer Correct ?    2 Yes 6 No

If we close the browser,when the specific user session is active.Again if we open browse how to ret..

Answer / anilkumar

Yes, we can restore the last session. Let me know which
technologies are you using? For example: check the naukri
website.

Is This Answer Correct ?    3 Yes 9 No

Post New Answer

More Struts Interview Questions

How can we get Servlet API Request, Response, HttpSession etc Objects in action classes?

0 Answers  


How are interceptors and servlet filters different?

0 Answers  


what is frame work in struts?

3 Answers   Infosys,


How display data base errors on web console by using the Struts Framework?

2 Answers  


how to develop the submit and search operations in single jsp using struts?

0 Answers   Wipro,






Does Struts2 action and interceptors are thread safe?

0 Answers  


What is pojo in struts2?

0 Answers  


How we can install struts?

0 Answers  


what is the difference between *.do & /do.*/? So what is the diffenence btn extension mapping & path mapping.What is those difference in work effect?

6 Answers   Wipro,


What are struts in java?

0 Answers  


what is the main reason for developing struts? what is advantages over Basic MVC architecture based JAVA Application?

1 Answers  


Explain the core end goal while using java struts?

0 Answers  


Categories