how to delete cookie information?and when it will delete?
Answer Posted / 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 |
Post New Answer View All Answers
What is iterator in the java collections framework? : java collections
What are the queues in the java collection framework? : java collections
What are the differences between the java collection and the java list? : java collections
Which sorting algorithm is used by collections.sort() in java ?
What are the uses of the set interfaces in the java collections? : java collections
Should we create system software ( e.g operating system ) in java ?
What are the main classes of the list interfaces? : java collections
What is the use of the list interface in the java collection? : java collections
Explain the OOPS concept in Realtime Scenarion ? Take example as CAR. Please explain indetail ?
What are the classes in the java collection framework? : java collections
who will give req's to u?. how they send req's to u? . what design documents contains?. when bugs raised on other developer code how to report to them?.(throgh mail or ........). how to retrive 100 recods from dao layer to presentation layer.using which collection?. what is sequence diagram.?.
How do I find jre path in windows?
How is hashset maintained in memory by java ?
Which server-side script takes the input from JavaScript, can access the database if it needs to, and processes the data.
please mail me the interview question based on java/j2ee