Answer the question
In order to leave comments, you need to log in
How to store data from JS to PHP for use (Cookies are not suitable)?
I need an analogue of Cookie to store a little more textual information.
I'm getting some data in JS (but it doesn't fit in the scope of the Cookie) and I need to store it somewhere in order for PHP to work with that data.
1. AJAX is not allowed - extra load for the sake of one variable does not make sense
Answer the question
In order to leave comments, you need to log in
changed my code under session, use SESSION for big data - it's better than AJAX
1. AJAX is not allowed - extra load for the sake of one variable does not make sense
Try localstorage
htmlbook.ru/html5/storage
Also look at your problem from the other side, there are more elegant solutions
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question