I am trying to set the flag HttpOnly with "cookie.setHttpOnly(true);" but I am getting this error "The method setHttpOnly(boolean) is not defined for the type Cookie" Any ideas to fix this?
Asked
Active
Viewed 463 times