• Resolved shreeshchandra

    (@shreeshchandra)


    Hi Team,

    We facing this issue for our website “DataTables warning: table id=suraj2 – Token expired, please refresh page” after clearing the w3 Total Cache issue is gone I don’t know what happened exactly.

    Can you please check once? Give me some solution to tackle this issue as soon as possible.

    Regards,

    ATS Academy Team

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Kim L

    (@kimmyx)

    Hi @shreeshchandra,

    Do you have a caching plugin active?

    WP Data Access adds a token to every request to prevent unauthorized access.

    A token is valid for 24 hours. If the user stays on that page for 24 hours, the user gets a “token expired” message.

    Refreshing the page will usually solve this issue. This will not work if a page is cached.

    In that case, the token is cached as well and will become invalid over time.

    Adding exceptions for cached pages using tokens will solve this issue. If cache exceptions are not wanted or preferred, the killToken option can be added to a data table.

    Read how to add the killToken option to a data table here: Disable token check

    Hope this helps! Let us know if you have more questions.

    Thread Starter shreeshchandra

    (@shreeshchandra)

    Hi Kim L,

    I’ve added the killToken option to our data table, and as of right now, the problem has disappeared. Tomorrow, I’ll check in to see if it persists, and if so, I’ll let you know.

    Thanks for your quick help.

    ATS Academy Team

    Plugin Contributor Kim L

    (@kimmyx)

    Hi @shreeshchandra,

    You’re welcome! 😊

    We’ll wait for your update.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘DataTables Token Expired’ is closed to new replies.