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 will happen if we disable cookies in the web page?

Answer Posted / deviprasad tummidi

A cookie is, at heart, a small piece of text--a name and
value pair--that the server side generates and sends to the
client. The browser remembers them (nontransient cookies
are stored to your hard disk; Netscape creates a file
called cookies or cookies.txt, for example). The browser
then sends them back to the server on any subsequent visit
to a page from the same site. The Cookie class is part of
the javax.servlet.http package, so any servlet
implementation will include it. The constructor is passed a
name and value, but there are other parameters you can set.
Most important is the expiry time, which is in seconds from
the time you first send it. The default is -1; if the value
is negative, the cookie is not saved to disk; it becomes
a "transient cookie" that exists only until the browser
exits and is then forgotten.

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is jstl?

1002


How can my application get to know when a httpsession is removed?

1029


How to deactivate el usage on jsp?

1035


Can we define a class in a jsp page?

964


What is auto-flush attribute?

1076


Can any one explain about the project Approximate shortest distance computing:A query dependent local landmark scheme

1788


Tell us about the stages (phases) of the jsp life cycle.

984


How do I use comments within a jsp page?

975


What are the jsp lifecycle phases?

1045


Why jsp is used in java?

927


Can we use javascript with jsp pages?

1024


Explain client-side and server-side validation.

929


How to ignore the el expression evaluation in a jsp?

1001


Which syntax is used to comment jsp?

1013


how to write the code of jsp program?

2460