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

struts is thread safe or not ?give me answer as early as possible

5 Answers  


What is the default suffix for struts2 action uri ?

0 Answers  


In strurt why w use two differnt files web.xml and strut config.xml?

2 Answers  


Difference between struts1.2 and struts2.0?

3 Answers   Bank Of America, HCL, Value Labs,


How an actionform bean is created?

0 Answers  






drawback of Validation Framework where and how to write the connection pool object in the programe how to debug the programe and application in struts without using eclips

1 Answers  


What do you mean by actionmapping?

0 Answers  


what are componeents presents in Strutsconfig.xml?

2 Answers   HCL,


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

0 Answers  


What are the custom tags?

0 Answers  


What configuration changes are required to use resource files in Struts?

0 Answers  


What is the purpose of interceptors?

0 Answers  


Categories