Explain about session? Where it runs & what are different
types of session handling?
Answer Posted / kannappanksk
HTTP is a protocol which does not maintain the state of the
client. It is state-less protocol, to make the protocol
stateful we need to provide the session handling mechanism.
This will be provided as per the need of the Application.
The basic categories are 4 ways:1. Using Cookies2. Using
Session API in Servlets3. Using Hidden form fields4. URL
Rewriting.
The best one is using Session objects with help of Session
API. Cookies are harmful because they are allowed to store
on to the client machine. This way you can send a virus
file as cookie So normally the System Admin disables them
to protect their network.
The session API allows us to create SessionID and set for
the client. per Client you can have one session object
which will run in the Server.
| Is This Answer Correct ? | 11 Yes | 2 No |
Post New Answer View All Answers
How are tag positions used in javascript?
What is bom?
Explain how to detect the operating system on the client machine?
What's the Difference Between Class and Prototypal Inheritance?
What would be the result of 3+2+”7″?
What is the real name of JavaScript?
What is rest parameters in javascript?
What is primitive data types in javascript?
How to test PAGE LOAD TIME, RELOAD THE PAGE, CAPTURE THE URL'S , TEST THE PIXALS please please above all these how to test as a tester
Explain unescape() in javascript?
What is encodeuri() function?
What is the use of blur function in JavaScript?
How to get complete current page url with javascript?
What is javascript and how it works?
what is a difference of subclass and main class