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

Explain higher-order functions in javascript?

0 Answers  


What is the difference between remove() and removeChild()?

0 Answers  


How to prevent a window not to be clicked or selected any way in java script?

0 Answers  


why we calld java object orinted programming language??

0 Answers   TCS,


What is the most popular javascript library?

0 Answers  






what is function of stdio.h

0 Answers   TCS,


Iam getting xml when we click on one button.Iam placing that xml in dom.Im getting that xml data in one xsl.In that xsl I want to increase the variable value which is declared in xsl. Ex: <parent_node> <childNode> <first><d1>ffftt</d1></first> <first><d1>eeeeiii</d1></first> <first><d1>uuuuwww</d1></first> </childNode> <childNode> <first><d1>fff</d1></first> <first><d1>eeee</d1></first> <first><d1>uuuu</d1></first> </childNode> </parent_node>

0 Answers  


20 Functions of Selenium with description and Examples.

0 Answers  


List some data types supported by javascript?

0 Answers  


Javascript, Pass by Value or Pass by Reference?

0 Answers  


What is the scope of variables in JavaScript?

0 Answers  


Explain javascript event delegation model?

0 Answers  


Categories