F
F
Flysink2017-08-10 16:39:22
WordPress
Flysink, 2017-08-10 16:39:22

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;

session IDs appear in the temp folder after each page refresh

Answer the question

In order to leave comments, you need to log in

1 answer(s)
J
Jupiter Max, 2019-03-28
@vardoLP

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 question

Ask a Question

731 491 924 answers to any question