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

can anybody tell.what is the difference between Forward Action and Action Forward?

2 Answers   Polaris, TCS,


What is the use of resourcebundle.properties file in Struts Validation framework?

0 Answers  


In which method of action class the business logic is executed?

0 Answers  


how you provide security in your banking project

1 Answers   IBM,


Describe the two types of formbeans.

0 Answers  






Explain the life cycle of a request in struct2 application?

0 Answers  


Explain about token feature in struts?

0 Answers   Tech Mahindra,


Do I have to credit struts on my own website?

0 Answers  


What’s the difference between struts and turbine? What’s the difference between struts and espresso?

0 Answers  


what are the type of forward class in Struts?

5 Answers   Wipro,


What do you mean by struts.dev mode?

0 Answers  


What are action classes in struts?

0 Answers  


Categories