when using Cors
for cross-domain login, everything is fine, but the client does not add SessionId
( Cookie
inside), so it is not clear what happened.
call js code:
<!--cors -->
<filter>
<filter-name>customCorsFilterConfig</filter-name>
<filter-class>CustomCorsFilterConfig</filter-class>
</filter>
<filter-mapping>
<filter-name>customCorsFilterConfig</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
however, after the normal request ends, SessionId
is not set in cookie
on the client side. Why? "(_;)"