Does anyone know any reason why some of my websites would suddenly have problems with their $_SESSION variables?
I have had emails from customers who have noticed that either their shopping baskets or login pages are not functioning correctly. I have tested them out and some $_SESSION data is being stored and some is not.
I have not changed any pages of these websites and both websites still function 100% on my local machine which is also running PHP 5.2.0
Hi
Not sure what could be causing it - session data is stored by default in a common area on the server - so it could be some kind of (space???) problem there.
I have done a website where the session data is stored in a database rather than files (in my case this was to get round the 30,min restriction on the persistence of the data) - this would probably be a good long term solution for you (not much use in the immediate situation I know, but worth considering longer term).
Odd that some data is saved and not other bits.
Sorry I'm not being not much help - but it does sound an odd one
I think EUK must have reset something as I noticed one of my websites started working ok again but not the other; then 5 mins later the other is ok as well.
Your account seems to be hosted on a Windows Server so you will need to open a ticket for our windows team. You can do so from http://support.eukhost.com
__________________ UK Web Hosting || Business Hosting || eUKhost Knowledgebase
Toll Free : 0808 262 0255 || MSN : mark @ eukhost.com || AIM : eukmark
A bunch of Sheep led by a Lion is better than a bunch of Lions led by a Sheep.
__________________________________________________
Great Opportunity :: Join our Affiliate Program for FREE and earn 20% commission on each referral.
Glad you seemed to have got it sorted now. That is a strange problem - but at least it was temporary. Could it has possibly been the file where the data is stored gained an error or corrupted itself?
Martin, has managed to fix the problem for me by setting PHP to run as ISAPI version.
I'm on a reseller account which uses Plesk. To do the above in plesk you need to...
1. Login into the Plesk control panel.
2. Click on Home >> problem domain_name >> Setup.
3. Check the box for "run as ISAPI extension" for PHP Support under services & click OK.