sessions worked for two minutes, then stopped writing

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
imstupid
Forum Commoner
Posts: 84
Joined: Fri Feb 18, 2005 1:24 pm

sessions worked for two minutes, then stopped writing

Post by imstupid »

to continue on from an earlier post, sessions are not writing properly. I'm sure the code is correct, and session_start() is posted at the top of all necessary pages, but the sessions won't write. The web host claims the save_path is correct, and has restarted the server after setting up the tmp folder. (It's a windows server by the way). But still, no luck.

What makes this weirder, is that as I was testing the login script today, I got a whole slew of new errors on a file I didn't even touch that has been working previously. After about a minute, I tried it again, and the script worked, and the sessions were written no problem. Then about two minutes later, I tried the login script on another browser, and sure enough, it stopped working, even though I didn't touch the files at all.

Has anyone encountered this problem, and/or is someone out to get me?
Post Reply