Warning: This plugin has't been updated in over 55 years. It may no longer be maintained.
What you can do to help:
Basically this plugin is used to regenerate Elgg Actions Tokens for long running AJAX based pages. It will automatically go get a new token every interval.
You only need this plugin if you're using lots of AJAX calls which are validated via the action_gatekeeper() and the pages which those AJAX calls run on could last longer than the default timeout for an action token (i.e. 1 hour).
Use getElggTimeStamp() and getElggToken() in your JavaScript code to get the more recent token, the token is (by default) updated every 50 minutes (although this can be customised in the plugin's settings), so in JQuery you might so something like:
$.get("/action/your/ajax/action", { __elgg_ts: getElggTimeStamp(), __elgg_token: getElggToken() } );
View Milan's plugins
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by Raül Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.