Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is Session and cookies?Explain in detail with an
example?

Answers were Sorted based on User's Feedback



What is Session and cookies?Explain in detail with an example?..

Answer / ravikiran

session will keep track of user interaction of a single client

cookies are the ones which are the small server side
entities to store the client side data inside it.

Is This Answer Correct ?    27 Yes 8 No

What is Session and cookies?Explain in detail with an example?..

Answer / debapriya maity

we r all familiar with the method given below

HttpSession session==request.getSession(true);
what happen here

Container whenever gets a request for a session from a client,
it checks out whether the request is for existing or a new
one,how it does.


If a new session: creates a cookie(small text file) ,stuffs
the session id ,and send it to the client as apart of
response headers (Set Cookie:)

existing one---gets the sessionid ,searches for the matching
session and associate with the request.

Now thing if ur browser is cookies disable, what will happen
next?? :)

Is This Answer Correct ?    14 Yes 3 No

What is Session and cookies?Explain in detail with an example?..

Answer / manikandan [ gtec,vellore ].

Session,Keeps a track of a User activities across the web pages.

Cookies,it is a small text file creates by a application
server and stored in a client environment.it stores a client
id and cookies can b read by appropriate application server

Is This Answer Correct ?    12 Yes 1 No

What is Session and cookies?Explain in detail with an example?..

Answer / viral koradiya

Cookie is the most important topic in servlet.

Cookies,it is a small text file creates by a application
server .
cookie stored in a client environment.it stores a client
id and cookies can b read by appropriate application server

Is This Answer Correct ?    3 Yes 0 No

Post New Answer

More Core Java Interview Questions

How do you sort a list in java?

0 Answers  


What is a dynamic array java?

0 Answers  


How many types of classes are there in java?

0 Answers  


What is use of a abstract variable?

0 Answers  


By what default value is an object reference declared as an instance variable?

1 Answers   Wipro,


Where import statement is used in a java program?

0 Answers  


How we can skip finally block of exception even if some exception occurs in the exception block in java?

0 Answers  


Explain the features of java?

0 Answers  


Where can I find data structures question and answers with comprehensive working code written in Java

0 Answers   Amazon,


Is binary a low level language?

0 Answers  


What is a stringbuilder?

0 Answers  


Can we pass null as argument in java?

0 Answers  


Categories