Explain about session? Where it runs & what are different
types of session handling?



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

Post New Answer

More JavaScript Interview Questions

What does clean white space mean?

0 Answers  


What does break and continue statements do in javascript?

0 Answers  


Is javascript or python easier?

0 Answers  


What is an asynchronous programming? Why is it important in javascript?

0 Answers  


What is break and continue statements?

0 Answers  






What will be the output of the following statements?

0 Answers  


In javascript what is an argument object?

0 Answers  


Does javascript support automatic type conversion?

0 Answers  


How many types of data types are there?

0 Answers  


how to get no of items from from weblist?

0 Answers  


What is a javascript code?

0 Answers  


What are the properties of stack?

0 Answers  


Categories