CodeIgniter Forums
How to clear csrf cookie? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21)
+--- Thread: How to clear csrf cookie? (/showthread.php?tid=54105)



How to clear csrf cookie? - El Forum - 08-22-2012

[eluser]Unknown[/eluser]
I have my wamp server setup in my localhost. For some testing, i changed my computer time from Aug 23 to Sept X then switching back to Aug 23. Now i'm unable to submit any forms in the website unless i changed to Sept or use other browsers(firefox).

If only works if i turn off the csrf.

Any idea how to clear this?

*I have tried clear browsing data(Google Chrome) but no luck


How to clear csrf cookie? - El Forum - 08-23-2012

[eluser]Unknown[/eluser]
Restart my wamp doesn't work but fixed with restart pc


How to clear csrf cookie? - El Forum - 08-23-2012

[eluser]johnpeace[/eluser]
I think a less brute force approach would have been:

Code:
$this->session->sess_destroy();