I have a script that uses sessions -- some people have reported on using it (on different server setups) that the sessions are having issues:
1) taking several attempts to "take" (i.e. the session info isn't setting). I use $_SESSION['loggedin'] and so on, rather than session_register, because I was told that was a better way to do it.
2) the session is timing out after an extremely brief time period (i.e. losing it's variable information).
The people to whom this is happening are all using PHP 4.3.1. I've asked them to check that their session settings are set to anything weird, and they aren't. Has anyone else run into something similar? Any ideas what the problem is or how to fix it?
An odd thing: modifying the browser settings to accept all cookies seems to fix the problem the majority of the time. I thought the point of using sessions is that they aren't cookies color me confused