Very weird SharedObject behavior on customized domains!

I met some very strange issues when debugging a project with SharedObject features.

Everything works fine in Flash CS3 IDE but since I use a customized domain (by changing HOST file) for my local projects, I try to debug it on my local server.

But it just sometimes fail to store a flushed value! I use Firebug to watch the result of a flush action, it’s also right: “flushed”. What’s more weird is that sometimes it’s working! I see no differences between two possibilities.

But after uploading the file to my remote server, everything works fine then.

Anyone met this problem before?