Setting and Getting Cookies
-
caseywhite
- Posts: 192
- Joined: Thu May 26, 2016 1:17 am
Setting and Getting Cookies
Is there a native way in VL Web to set and get cookies or is this something I have to write a custom widget to do?
Re: Setting and Getting Cookies
I don't think you can get to cookies directly but you can use Session and LocalStorage.
http://docs.lansa.com/14/en/lansa017/co ... Eng01_0295
http://docs.lansa.com/14/en/lansa017/co ... Eng01_0295
- Stewart Marshall
- Posts: 417
- Joined: Thu Nov 05, 2015 5:25 pm
Re: Setting and Getting Cookies
Hi Casey
Is there specific cookie functionality that you require?
As Joe said, LocalStorage (http://docs.lansa.com/14/en/lansa016/PR ... torage.htm) is now the recommended technique for storing user data on the client.
Regards
Is there specific cookie functionality that you require?
As Joe said, LocalStorage (http://docs.lansa.com/14/en/lansa016/PR ... torage.htm) is now the recommended technique for storing user data on the client.
Regards
-
caseywhite
- Posts: 192
- Joined: Thu May 26, 2016 1:17 am
Re: Setting and Getting Cookies
Thanks Joe and Stewart. We are replacing a WAM site that uses cookies to store a flag that a user has done something from that specific browser. It sounds like it is recommended to use local storage then, is that correct? If so, that is the solution I will pursue.