Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

setsecure method in cookies  RSS feed

 
sitaram irrinki
Ranch Hand
Posts: 158
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have seen in the Cookie class a method called setSecure()
which tells the browser whether the cookie should be returned over a secure protocol(HTTS or SSL) or not.
Please tell me what is a secure protocol(and what is an ordinary protocol . IS Http secure protocol or not). And how does this protocol works
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!