Hi,
I am not sure, what’s going on?
But, PHP session goes on and off on my website.
Please see,
http://mayapuri.infinityfreeapp.com/session_test_1.php
Above page creates a session and sets “sandeep” as value. On clicking “Next”, the page is supposed to sustain session and display its value. But, it’s shown sometimes and sometimes not.
I am confused since the code is perfectly fine.
Please advise.
Thanks,
Sandeep
It works fine for me; Most likely it’s a problem with your browser and not storing cookies correctly. Make sure you have cookies enabled and your using an updated version of your browser.
1 Like
Thanks TigerMANEK426
But, I have shared this link with other friends and they see same issue.
We have tried all browsers. Also, clearing cache etc. But, no luck.
Please advise.
Thanks,
Sandeep
It is working for me as well. Note that your ISP may also cache the site, so using a device on cellular data may enable to you see it functioning.
Admin
August 8, 2021, 1:55pm
5
On this account, it seemed to be related to the session storage device being full:
My username: epiz_28180002
My website is using sessions to log in.
Suddenly, when I was trying to log in 10 mins ago, this PHP error appears:
Warning: Unknown: write failed: No space left on device (28) in Unknown on line 0
Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/php_sessions) in Unknown on line 0
I am quite sure this doesn’t cause by any bugs in my code.
Any ideas?
It’s likely that this was fixed already.
2 Likes
Thank you very much. It’s working now.
Can I prevent this problem from occurring next time with PHP code?
If yes, how?
Thank you very much
Thank you.
It’ working fine now.
Hope, this continues.
Thanks,
Sandeep
Admin
August 9, 2021, 8:50am
8
It’s a system issue, you can’t fix that with PHP code.
1 Like
system
Closed
August 16, 2021, 8:50am
9
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.