@ -103,7 +103,7 @@ public class BaseController {
|
||||
protected void addSession(HttpServletRequest request, HttpServletResponse response, SessionValue value) {
|
||||
String key = UUID.randomUUID().toString();
|
||||
Cookie cookie = new Cookie(PALO_SESSION_ID, key);
|
||||
cookie.setSecure(true);
|
||||
cookie.setSecure(false);
|
||||
cookie.setMaxAge(PALO_SESSION_EXPIRED_TIME);
|
||||
cookie.setPath("/");
|
||||
cookie.setHttpOnly(true);
|
||||
|
||||
Reference in New Issue
Block a user