I have found out what it was. I had to create a /tmp folder in the folder
where I have web page.
In the tmp folder where session created. If it doesn`t exist, there is no
session created.
There is such configuration on the ftp server this page is placed.
The main thing which helped was phpinfo