So u saying when user loggin in, session is destroying automatically..
try create a new session inside login and check that one..
show me the login code..
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
my sessions works perfect on localhost but when I want to run on host it doesnt work and when user refresh the page,stored data in session is completely clean! I have searched on net but given answer did not helped me!
Please or to participate in this conversation.