Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 81690

bStateSave cookies getting removed

$
0
0
I'm not sure if this is a bug or by design but it's driving me crazy. I have 4 datatables on my site. I've set the "bStateSave" : true on each of them in order to remember the number of records to show.

I have found that when I set the number of rows to show to 100 for one of the datatables, it remembers that setting if I navigate away from the page and come back. I've also noted that a cookie is created named 'SpryMedia_DataTables_{tablename}_{pagename}.

When I navigate to another page with a datatable and then navigate away from it, a cookie is created for that datatable and page. This works until I've got 2 cookies cached and then I navigate away from a third page with a datatable. The first cookie created gets removed and only the 2nd and 3rd cookies remain.

There have been instances were there were 3 cookies created, but never all 4 as expected. The page names are all unique, but the table names are not. I'm not sure if that has any bearing or not.

Any help would be greatly appreciated.

Viewing all articles
Browse latest Browse all 81690

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>