node.js - Azure mobile service javascript back end how to set and read cookies? -


So I have this blue mobile service with a look back end but I am called a specific API when a cookie Will need to be stored.

My login API is set up and working correctly and I want to set up a cookie, but I am unable to get anything from blue documents about cookies.

So basically how can I store a cookie from the end of jazz javascript backs and how can I get it later from the table operations script to check its validity?

Edit: I refer to the query of the Express API, which says blue that its request and response are from objects but whenever response.cookie ('token' , 'Value', {maxAge: 3600000}) I still can not access it from the requested object on other APIs.

You currently do not have access to HTTP request headers (including cookies) from within table scripts Should access them in a custom API) If you think this is an important feature, please add a new feature request.

Comments

Popular posts from this blog

ios - Adding an SKSpriteNode to SKScene from a child SKSpriteNode -

Matlab transpose a table vector -

c# - Textbox not clickable but editable -