일반적으론 서로 다른 컨텍스트간 세션이 공유되지 않음.
톰캣서버의 context.xml
<Context> 를 <Context crossContext="true"> 로 변경
톰캣서버의 server.xml
<Connector connectionTimeout="20000" port="8080" protocol="HTTP/1.1" redirectPort="8443"/>
을
<Connecor connectionTimeout="20000" port="8080" protocol="HTTP/1.1" redirectPort="8443" emptySessionPath="true"/>
로 변경 해준다
'Server' 카테고리의 다른 글
window tomcat 개인키로 https 적용 (0) | 2020.06.25 |
---|---|
window에서 springboot 개인키로 https적용 (0) | 2020.06.25 |
Window서버 시스템이 PID:4 포트번호 80번을 선점했을때 처리 (0) | 2019.07.08 |