Hi,
Has anyone successfully used cookies along with the HTTP server of Net Component 7.x, and if yes, how? Using cookies involves modifying the header part of html pages, which is somewhat restricted with this implementation.
Thanks, Steffen Schmid
I'd suggest you checking this thread on github: github.com/.../cookie-parser. Also there is a Token-based Authentication called JSON Web Tokens (JWT).
This answer is not going into the right direction. The posted link is about a Node module for parsing Cookies.
What we're looking for is a solution for the ARM Keil Net Component 7.x HTTP server to send a cookie to the browser.
The Net Component has a few functions to manipulate the HTTP header (like setting Content-Type, doing Redirects) but it looks like there is no way to make it add a Cookie to the header.
JWT also involves adding information to the HTTP header.
Hi Cecilia,
Thanks for your suggestion, but this actually does not solve the problem. We seem to be struggling with a limitation of the web server, which, to my current knowledge, appears to be due to its limited API to modify HTTP header information. So we are looking for someone who has successfully implemented cookies on the Keil web server. Any suggestions to overcome the limitation are highly appreciated.
Thanks, Steffen