what is session tracking?what are types of session
tracking ?and when to cookies,when to use
sessionmanagement,whent use url rewriting technique,plz
explain briefly?

Answer Posted / makthar basha

HTTP is a "state less" protocol and it does not maintain the
client state, But there exist a mechanism called "Session
Tracking" which helps the servers to maintain the state to
track the series of requests from the same user across some
period of time.

Note:HTTP is a stateless protocol that means client(browser)
sends the request to the server and server sends the
response to the client, once the response is returned to
client, server does not remember anything about the client
state.

Is This Answer Correct ?    24 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the mechanisms used by a servlet container for maintaining session information?

573


Explain how to improve Servlet Performance?

602


Why is httpservlet declared abstract?

585


How can you push data from an Applet to a Servlet?

611


What is the difference between the getrequestdispatcher(string path) method of javax.servlet.servletrequest interface and javax.servlet.servletcontext interface?

569






Explain the differences between jsp and servlet.

546


What is the difference between servlet and filter?

532


Hello, My project requirement is like I need to create a web page using MVC pattern. I hava a bean class, jsp page, servlet, service and dao. My jsp has two fields. One is dropdown list. The option values has to get populated from the database table. The other one is a text box and its value has to come from database table. As of now I have defined the fields in bean class, got the values from database using arraylists in dao class and I called this from service class. Can anyone please tell me the workflow of how the servlet will get this arraylist and populate the arraylist values as dropdown options in jsp page? Also I would like to know the role of bean class in MVC pattern? Thanks in advance!

1842


What do you mean by a filter and how does it work?

543


How would you create deadlock on your servlet?

627


What are all the ways for session tracking?

597


What is SingleThreadModel interface?

678


List out difference between a JavaBean from a Servlet?

568


What if we pass negative value in load-on-startup?

811


How to upload a file to the server using servlet?

536