Set cookie in browser - Forum

Forum Navigation
You need to log in to create posts and topics.

Set cookie in browser

Hi dear friends,

How can my web page that created wih VisualNeo web set some cookie from variables in browser?

Thanks

@tilesoft you can use SetItem, GetItem and RemoveItem commands (more info here).
It's also possible to store more complex data structures in the device using neoLocalStorage plugin.

Regards.

tilesoft has reacted to this post.
tilesoft

Thank you. I forget ask my main question. Is cookies usable to store user login info?

@tilesoft cookies are used to allow the "Keep me logged in for one week" kind of functionality.
I mean, you can "remember" the user after he has logged in succesfully. But the first time, you will need a server side script.
Not sure if this answers your question.

Regards.

tilesoft has reacted to this post.
tilesoft

Thank you very much