Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Please disable cookies! #2169

Open
centurianii opened this issue Jun 20, 2018 · 1 comment
Open

Please disable cookies! #2169

centurianii opened this issue Jun 20, 2018 · 1 comment

Comments

@centurianii
Copy link

centurianii commented Jun 20, 2018

Your cookies (in plural) messes with my authentication cookies and it's a bad practice to achieve memory!

Have you noticed that after a while cookies are piled up?

Which lines should I go and delete?

@hikalkan
Copy link
Member

You can override _setCookie & _getCookie functions to change cookie storage to local storage.
See https://github.com/hikalkan/jtable/blob/master/lib/jquery.jtable.js#L1246

Extending is easy. See an extension to understand how it works:

https://github.com/hikalkan/jtable/blob/master/lib/extensions/jquery.jtable.record-actions.js#L13

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants