sCookiePrefix Alternative!
sCookiePrefix Alternative!
Jamaur
Posts: 87Questions: 10Answers: 0
I noticed that sCookiePrefix has been removed in Datatables 1.10, are there any alternatives to sCookiePrefix? As I need to save the table state based on the currently logged in user.
Thanks in advance.
This discussion has been closed.
Replies
...
...
"statesave": true
In 1.10 state saving is done using
localStorage
so it will automatically be based on the user, since it is local to their browser.However, if you want the old style version then you could use
saveSaveCallback
etc to create your own storage.Allan