Quantcast
Channel: SCN : Discussion List - SAP HANA and In-Memory Computing
Viewing all articles
Browse latest Browse all 5653

Cookie parameters in .xsjs

$
0
0

Hi all

 

In my .xsjs file in a SAP HANA XS application, I want to create a cookie and send it to the browser. According to the SAP HANA XS JavaScript Reference, cookies are represented as name-value pairs (they are elements of a TupelList object).

The command

$.response.cookies.set('myCookieName', 'myCookieValue');

creates a cookie with the given name/value and sets the parameters 'host', 'path' and 'expires' automatically.

 

My question is: How can I modify e.g. the parameters 'path' and 'expires' ? Is it possible to do it in the .xsjs ?

 

Thanks 

Christoph


Viewing all articles
Browse latest Browse all 5653

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>