On iOS, the session cookie of the node server is initialized.

The IOS version that displays the webview is 14, and the node version of the server receiving the request is 10.0.0.

About the webview simulator : (Mozilla/5.0 (iPhone; CPU iPhone OS 14_4 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148)

In Android, the session value is delivered well, but when a web page is opened with WKWebview in IOS, the session value in the cookie is initialized in the middle.

The node server is sending and receiving session information using the cookie-session library, and the web page front was developed with vue.

I'm not sure exactly what the problem is, so I'm asking.

The log is attached below. At first, the session value is properly entered in the request header as shown below and delivered.

{ "name": "Cookie", "value": "session={VALUE}; session.sig={VALUE}; TS0154565f={VALUE}" },

However, in the next API call, the session value is passed well in the request, but the

{ "name": "Set-Cookie", "value": "session.sig=; path=/; expires=Thu, 01 Jan 1970 00:00:00 GMT; httponly" }, This is how the session is initialized.

Can you tell me why?

On iOS, the session cookie of the node server is initialized.
 
 
Q