Session is not getting after redirect to other page

I upload one project to 000host but session not remember another page (redirect or loaded page) .But it is running on local perfectly … Also when i echo phpinfo 000webhost session save path show local = /tmp; master = novalue (that is my notice)

@davijpmmm Add this in your .htaccess file and then try again.

Oh my domain !!! It is now working sir .
My session domain name is a little wrong !
When I remove https:// from session domain , then it is perfectly working

what is your domain name??

Then use only http.

My domain => https://learn4myanmar.000webhostapp.com
I think no need to use http also !!!

Hi @davijpmmm!

My session domain name is a little wrong !

There is no need to input the protocol in sessions.

Just use learn4myanmar.000webhostapp.com and the cookie will be valid for both protocols…