Site Tools


fix_csrf

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

fix_csrf [2015/03/14 23:42] (current)
conovaloff created
Line 1: Line 1:
 +===== invalid csrf token adminer =====
 +if you have:
 +  invalid csrf token. ​ Send the form again. If you did not send this request from Adminer then close this page.
 +then, you probably have not turned on php cookie. \\
 +Test by script: ​
 +
 +  <?php
 +  session_start();​
 +  ​
 +  echo(session_id() . "​\n</​br>"​);​
 +  if(isset($_SESSION['​views'​]))
 +  $_SESSION['​views'​]=$_SESSION['​views'​]+1;​
 +  else
 +  $_SESSION['​views'​]=1;​
 +  echo "​Views="​. $_SESSION['​views'​];​
 +  ?>
  
fix_csrf.txt ยท Last modified: 2015/03/14 23:42 by conovaloff

Page Tools