koa-session2 icon indicating copy to clipboard operation
koa-session2 copied to clipboard

Possible to use without cookies?

Open Panoplos opened this issue 8 years ago • 1 comments
trafficstars

Is it possible to get sessions working with the client without cookies? For instance, rather than using cookies in a browser-led GET, is it possible to use POST with JSON content? We have a project that we would like to release a React Native client for, and cookies are not ideal.

Panoplos avatar May 03 '17 03:05 Panoplos

@Panoplos Could you modify the headers of HTTP request? You just modify the Cookie field in request headers.

Secbone avatar May 03 '17 05:05 Secbone