Answer the question
In order to leave comments, you need to log in
Why is session refreshed after page refresh?
On the local server it works as it should, on the hosting the session is constantly updated after reloading the page, tell me what is the reason?
At the top of the page I write:
session_start();
if(!isset($_SESSION['test'])) $_SESSION['test'] = 1; else echo $_SESSION['test']++;
exit;
Answer the question
In order to leave comments, you need to log in
why do you need plugins? Or are you in the code at all? Everything is simple there
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question