Two Laptop Bag
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
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
jQuery in Action, 3rd edition