What are setSecure() and getSecure() methods in Cookies?
Answer / harikrishna ravada
setSecure:
Indicates to the user agent that the cookie should only be
sent using a secure protocol (https). This should only be
set when the cookie's originating server used a secure
protocol to set the cookie's value.
public void setSecure(boolean flag)
getSecure:
Returns the value of the 'secure' flag.
public boolean getSecure()
Is This Answer Correct ? | 1 Yes | 0 No |
how the server will know its the same jsp page?
What is difference between server and servlet?
What is cookie in servlet?
What is the use of servlet wrapper classes?
Write all the phases defined in servlet life cycle?
why are using HttpServlet in realtime projects and why are not using Genericservlet
What is servlet container. how it works?
Explain url encoding?
What is war file?
how JSP can extend servlet or interface ...?
hi actully i hav form columns with origin and destination names .as like as i need to create one more column with name amount. my requirement is when i select origin and destination columns automatically i need to get amount from database.how can i. please tel me with relative code
Why are servlets used?