Session is not saved.
session_start(); if (empty($_SESSION['count'])) { $_SESSION['count'] = 1; } else { $_SESSION['count']++; } echo $_SESSION['count']; with each update shows 1
snapshot phpinfo() ;
Session is not saved.
session_start(); if (empty($_SESSION['count'])) { $_SESSION['count'] = 1; } else { $_SESSION['count']++; } echo $_SESSION['count']; with each update shows 1
snapshot phpinfo() ;
It seems that this question does not correspond to the subject of the site. Those who voted to close it indicated the following reason:
Source: https://ru.stackoverflow.com/questions/533633/
All Articles
session_start()to help you. - Visman