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 are the differences between the java collection and the java list? : java collections
What are the different types of collections views being provided by the map interface? : java collections
What are the interfaces in java collections? : java collections
In hyderabad, which s/w training center is best for java, other than corejava what r the new tools to learn in java,which tool is best & have current requirement,pls give me information about java to learn ?
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
What are the main classes of the list interfaces? : java collections
What are the types of java collections? : 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.?.
Should we create system software ( e.g operating system ) in java ?
What are the different types of features of the java collections framework? : java collections
Hi Friends , am newbie to ajax. For example just consider one account registration - A form contains 8 text fields with submit button. In this form second texbox contains "username " . On right side of text box there is a label box . On clilck action i need to determine user is available or not. Is it possible on clicking label or should i click submit button.
What is the use of hashcode in java ?
What is the Spring2.5 MVC Navigation flow?
How do I find jre path in windows?
How is hashset maintained in memory by java ?