diff --git a/src/cpp/MySQL/Poco/Binder.h b/src/cpp/MySQL/Poco/Binder.h index 487a6a668..ada42d5f6 100644 --- a/src/cpp/MySQL/Poco/Binder.h +++ b/src/cpp/MySQL/Poco/Binder.h @@ -17,7 +17,7 @@ #ifndef Data_MySQL_Binder_INCLUDED #define Data_MySQL_Binder_INCLUDED -#include "Poco/MySQL.h" +#include "MySQL.h" #include "Poco/Data/AbstractBinder.h" #include "Poco/Data/LOB.h" #include "Poco/MySQLException.h" diff --git a/src/cpp/model/Session.cpp b/src/cpp/model/Session.cpp index 4969c260e..198873982 100644 --- a/src/cpp/model/Session.cpp +++ b/src/cpp/model/Session.cpp @@ -413,7 +413,9 @@ Poco::Net::HTTPCookie Session::getLoginCookie() // prevent reading or changing cookie with js keks.setHttpOnly(); // send cookie only via https - //keks.setSecure(true); +#ifndef WIN32 + keks.setSecure(true); +#endif return keks; }