stateSave problem in google chrome
stateSave problem in google chrome
RA-Novin
Posts: 11Questions: 2Answers: 0
Hi,
I am using stateSave in my project. It is working properly in FireFox but it is not working in google chrome.
I have seen the discussion at: https://datatables.net/forums/discussion/64369/state-save-not-working-looking-for-rootcause, but I did not succeed to solve my problem based on it.
I also disabled all the extensions and that did not help either.
I'll be thankful for any help or guidelines.
This question has accepted answers - jump to:
Answers
Can you link to a test case showing the issue please? It appears to work okay here?
Allan
Dear Allan,
Yes, the provided link by you is working.
and I have put the following snippet in my code (as is provided in the link):
(document).ready(function () {
$('#example').DataTable({
stateSave: true,
});
});
that's all, I wonder if it is still required to give a link to my test case?
It appears to be working here too in Chrome: https://live.datatables.net/tulusaha/1/edit
Could you look at that, please, and see if it helps. If it's still not working for you, please can you update my example, or link to your page, so that we can see the problem.
Cheers,
Colin
link to my page is:
https://live.datatables.net/qudomuke/1/edit
that surprisingly is working here, but still not working on my local server
We need to see the error happen in order to debug it. Are you able to link to your server?
Colin
Thanks for your kind efforts.
I'm afraid I can not link to server, actually my program is still on the local host (that previously I said local server).
Besides it is not giving any error messages, it just avoids keeping the web page state after refreshing the page. I wonder if you could provide any other guide lines please?
You could check your security settings for Chrome - maybe you've disabled cookies. Given it works with FF, it suggests something with Chrome, so you could try incognito too, as that would disable your extensions.
Colin
If you are using
file://
to load the file, that is probably the issue. Load it from an http server.Allan
Dear Allan
Thanks a lot for your life-saving hints. It works in incognito mode and based on your suggestion I would look for something in chrome's security settings. I really appreciate and you might kindly close the question now. Thanks again.