how do you maintain sessions in servlets?

Answer Posted / bibek

for mentaining session there are four ways
1 hidden field
2 url re-writting
3 coockis
4 session

Is This Answer Correct ?    14 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is session?

639


Explain the different ways for servlet authentication?

528


What is the GenericServlet class?

597


What exactly is a servlet?

539


What is cookie? Why is cookie used?

578






What do you mean by httpservlet?

563


What is the need of session tracking in web application?

583


What is the difference between encodeRedirectUrl and encodeURL?

599


How a servlet is unloaded?

589


What is the use of send redirect () method?

586


What is string tokenizer?

624


What is a servlet context?

598


Can we use the constructor, instead of init(), to initialize servlet?

580


explain the advantages of servlet life cycle?

555


What are the ways to handle multi-threading in servlets?

595