Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

zeebwp's avatar

session not working

session not working when deploy on server its worked fine on local

0 likes
3 replies
amrish11182's avatar

What type session you using ? i believe if is file then please check permission : file - sessions are stored in storage/framework/sessions

zeebwp's avatar

sory amrish for late reply yes session type is file and storage/framework/sessions under directory have file means session created but when i want to retrive it an other controller session lost value

Amrish can test here=> my site url = http://mytree.pk/ on top right side have login button click on and the oppen popup username= [email protected] password=123 and when you login then wait 10s and show the output plz

Please or to participate in this conversation.