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 does === mean in js?
What is an asynchronous programming? Why is it important in javascript?
what is onfocus and onblur events in java script?
java pgme for class members hours:minutes:seconds then the constructor expects milliseconds as assignment and initialize data members the members function print hh:mm:ss 90,000 milliseconds passed in constructor then the output is 00:01:30
What is javascript? List some data types supported by javascript?
How do you change the style/class on any element?
How to include the HTML tag inside the javascript tags?
Write JavaScript code to use file system in binary format?
Is jquery easier than javascript?
What are all the looping structures in javascript?
What does the following statement declares?
what is lazy fetching in hibernate