Answer the question
In order to leave comments, you need to log in
PHP, Google Chrome, session values are always different, what am I doing wrong?
Good afternoon!
So, in index.php , the first lines
session_start();
$sid = session_id();
$_SESSION[$sid] = $t->getData(); #$t->getData(); генерирует всегда разный массив
.ajax({type:"POST",url:"check.php",data:{t:t,"sid":"<?=$sid;?>"},success:function(t){ // и т.д.
echo '<pre>';
print_r($_SESSION);die;
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question