BBjCookie::getSecure
Description
In BBj 12.00 and higher, this method returns true if the browser is sending cookies only over a secure protocol, or false if the browser can send cookies using any protocol.
Syntax
Return Value |
Method |
---|---|
boolean |
getSecure() |
Parameters
None.
Return Value
Returns a boolean where 0 = BBjCookie is not only for secure connections and 1 = BBjCookie is only for secure connections.
Remarks
The example below shows testing to see if a BBjCookie is only available on a secure protocol within a BBjServlet
Example
|