Explain about session? Where it runs & what are different
types of session handling?
Answer / 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 |
What is console.time() and console.timeend()? What is its syntax, and why is it used?
What are escape characters in javascript?
Explain promise in javascript?
Which built-in method returns the character at the specified index?
What is a name function in javascript & how to define it?
Where is javascript used most?
What are limitations in javascript?
What is the difference between undefined value and null value?
How can you create an Object in JavaScript?
How to print a web page using javascript?
What is the use of a set object in javascript?
Can any one tell me about s_objectID used for the anchor tag why it is used, what for and how to use it properly. with an example...please please......