Php session don`t start

Hello! I have such a problem: sessions in php are started anew in each file, and there is no way to get the value of $_SESSION[‘exampl’] in the second file declared in the first. What am I doing wrong??? My code: .

1 Like

It seems the session is the same on both pages in your Repl. On both pages, it shows up with 123. The cookie however doesn’t show up on the twith page.