File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Java Interview Guide this week in the Jobs Discussion 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
I agree. Here's the link:
subject: setsecure method in cookies
It's not a secret anymore!