I'd like to control my cookies server-side instead of relying on js. Can we do this?
Can I set a cookie server-side?
Currently your only option is to use session tag to set a value server side for the current user session.
It is still a cookie, but destroyed once the session ends :)
The solution is for POS to allow expiry times and path (prefered - but I can see a security risk there) or greater control over headers so we can set our own SS cookies.
Adam CookIt may be technically true that a session variable is a cookie, but it kind of misses the point. I'm talking about cookies that can be read from the client-side.
Dec 25 2020 at 01:44
Rich - One Orange CowCookies are cookies, session or not, you can read the values of cookies set by POS client side in JS if you wish
Dec 30 2020 at 02:37