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

Questions by kunnathsree

Showing Answers 1 - 10 of 10 Answers

s_s78

  • Mar 23rd, 2006
 

session is a mean to maintain client identity...

many client my request u .. further they my visit several pages how can you identify which client is accessing page..

to maintain this each client should be assigned a unique ID as soon as the request first page.. and to access consecuent pages the client must supply his/her ID whith page request... now u can identify that which client is requesting the page...

search on net for various techniques to maintain the session..;-)

Shekhar

  Was this answer useful?  Yes

Bhavani Shekhar

  • Mar 25th, 2006
 

HTTP is a protocol which does not maintaince 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 RewritingThe 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 u 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.the last two ways are useful only when the client is Web client.

  Was this answer useful?  Yes

kanna

  • Aug 28th, 2006
 

hello frd

iam kanna

i want to know about this session fully

  Was this answer useful?  Yes

Atul

  • Dec 7th, 2006
 

Yup the comment is right. HTTP is a stateless protocol so we use session to identify the user.

  Was this answer useful?  Yes

Raji

  • Feb 16th, 2013
 

Explain about session in detail with example

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions