This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes Servlets and the fly likes setsecure method in cookies Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "setsecure method in cookies" Watch "setsecure method in cookies" New topic

setsecure method in cookies

sitaram irrinki
Ranch Hand

Joined: Feb 16, 2005
Posts: 158
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
Consider Paul's rocket mass heater.
subject: setsecure method in cookies
It's not a secret anymore!