the front end is written in angular, and the session, that can be received from the background is saved in the cookie ($cookies.put ("jsessonid", response.data.sessionId);),) can be read normally, but the server cannot receive it.
every time the interface is called, a new session, headache is returned!
has also considered the problem of cross-domain, which is reported by adding $httpProvider.defaults.withCredentials = true; browser, but the backend says it has little to do with this (- sharpsad)
. Do you want to add cookie to the request header? Get down on your knees and beg the boss to answer my doubts! Thank you very much