how to delete cookie information?and when it will delete?

Answers were Sorted based on User's Feedback



how to delete cookie information?and when it will delete?..

Answer / raseek

choose
Tools-internet options-Browsing history

press delete-it opens one window with several option
choose Delete cookies.cookies get deleted.

Is This Answer Correct ?    6 Yes 0 No

how to delete cookie information?and when it will delete?..

Answer / achal

you just set the maxAge ofcookie as 0


as
myCookie.setMaxAge(0);

when browser will close the cokie will also be closed.

otherwise set the age of cookie -1 for istant deleting of
cookie.

Is This Answer Correct ?    4 Yes 1 No

how to delete cookie information?and when it will delete?..

Answer / vazza jones

Some cookies have an expiration set, in this case the cookie
is deleted after the time expires. The cookies without an
expiration time are deleted after the session ends.

Is This Answer Correct ?    2 Yes 1 No

Post New Answer

More Java J2EE AllOther Interview Questions

What is Visual Source Safe(source control Tool)?

1 Answers  


lll

1 Answers  


Hi frnds how to lock an user when he enter wrong credentials more than 3 time using java or j2ee tech take username and password in a bean no need to connect DB and validate give me some sample application code or links its urgent for me thanks in advance

0 Answers   NSN,


HOW MUCH PERCENTAGE WE DEDUCT FOR OUR SUPPLIERS OR OTHER PROFESSIONALS

0 Answers  


What causes Out of Memory exception?

5 Answers   CTS,






What is java collection? : java collections

0 Answers  


How do you debug your java program?

2 Answers   HCL, Inforica,


Should we create system software ( e.g operating system ) in java ?

0 Answers  


what protocols does JNDI provide an interface to?

1 Answers  


What is a constructor?

4 Answers  


what debugging tool that can be used to debug the java programs?

1 Answers   Inforica,


Which server-side script takes the input from JavaScript, can access the database if it needs to, and processes the data.

0 Answers  


Categories