EllisLab/CodeIgniter — pull request #850 by RS71 (2011-12-31 18:09:48+00:00)
Title: CSRF optional token regeneration

Related issues

Issue #192 https://github.com/EllisLab/CodeIgniter/issues/192
Issue #843 https://github.com/EllisLab/CodeIgniter/issues/843

Added an option to determine whether or not the token will be regenerated on every submission (regardless or success or failure). This makes it a bit easier to use tabs, back/forward navigation, asynchronous file uploads, etc.