| getSecure() | ใช้คืนค่าว่า ได้ใช้ความปลอดภัยในการส่ง Cookie หรือไม่ |
|---|
method:getSecure ();
return type:boolean
content:ใช้คืนค่าว่า ได้ใช้ความปลอดภัยในการส่ง Cookie หรือไม่ (true = ใช้)
example:Cookie cookie = new Cookie ( “username”, “bamboo” ); if ( ! cookie.getSecure () ) { cookie.setSecure ( true ); }