Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QUESTION CSRF detected!
#10
I'm not sure all browser behaves the same way, but it doesn't matter, wether a CKEditor or textarea, when I click the back Button (Sometimes multiple clicks are necessary) it will reload page from browser cache. That is browser's default behavior, is to naturally cache pages. But when you want to be sure to explicitly grab sites from cache -which is natural when someone is filling out a form- for instance you could try to forcing pragma-cache in header as follows:

Code:
header("Content-Type: text/html; charset: UTF-8");
header("Cache-Control: max-age=400, public, s-maxage=400“);
header("Pragma: ");
header('Expires: ' . gmdate('D, d M Y H:i:s', time() + 400) . ' GMT');

There a link for more info: http://www.sitepoint.com/caching-php-performance/
Reply


Messages In This Thread
CSRF detected! - by Charpy1 - 2016-02-23, 18:38:27
RE: CSRF detected! - by Bigin - 2016-02-23, 19:03:48
RE: CSRF detected! - by shawn_a - 2016-02-23, 23:05:45
RE: CSRF detected! - by jwzumwalt - 2016-02-24, 01:57:14
RE: CSRF detected! - by Bigin - 2016-02-24, 02:12:59
RE: CSRF detected! - by jwzumwalt - 2016-02-24, 03:06:28
RE: CSRF detected! - by shawn_a - 2016-02-24, 03:15:32
RE: CSRF detected! - by jwzumwalt - 2016-02-24, 04:02:48
RE: CSRF detected! - by jwzumwalt - 2016-03-24, 13:37:13
RE: CSRF detected! - by Charpy1 - 2016-02-24, 06:58:16
RE: CSRF detected! - by Bigin - 2016-02-24, 07:19:22
RE: CSRF detected! - by jwzumwalt - 2016-02-24, 09:15:54
RE: CSRF detected! - by shawn_a - 2016-02-24, 07:33:29
RE: CSRF detected! - by Bigin - 2016-02-24, 17:18:20
RE: CSRF detected! - by shawn_a - 2016-02-25, 00:13:36



Users browsing this thread: 3 Guest(s)