I am using POST request to display data in dataTable. When I load the page, sometimes the dataTable doesn't display and I get an alert saying "DataTables warning: table id=table0 - The page token has expired. Please log in again.", however sometimes the page loads without any error. The status code of ajax shows 302 when we have error on loading. And another thing is that, if I change the request method to 'GET', I never get any error. All I have found till now is that when we have error in loading data, Web socket doesn't connect and also the controller action of the url is not hit. Can someone help me knowing why is this issue occurring