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 many ways are available to ger RequestDispatcher object?
What are the types of servlets? Explain
What are the advantages of Servlet over CGI?
Explain session tracking and its importance?
Which interface should be implemented by all servlets?
How to commuincate between an applet and a servlet?
What is the main purpose of java servlets?
Is tomcat a servlet container?
Are Servlets by default thread safe or not? thanks in advance regards Sudhakar
Is JSP Thread Safe ???? How To make JSP thrad safe ?????
What are different Authentication options available in Servlets.
What is ServletContext() and what is its use?
9 Answers Prime Technology, TCS,