开发者

flash shared object is not working across multiple PCs

I am using SharedObject to save some persistent information (such as visited slide, etc) on user browser. For example, if user visited the slide, it will highlight the butt开发者_JAVA百科on that takes them to that slide. If they close the browser, and revisited the website, that button will still be highlighted. It worked out well on my laptop. But when I sent out for testing to my 3 co-workers. Two of them were having problems with it. The other one has no problem at all.

Any suggestions? Thanks in advance.


It has to do with the timing when the sharedobject is saved.

In order for it to work properly, when you have set the sharedObject value it should be stored right away. You can do this by calling the flush() function from the SharedObject. This will make sure that it save right away instead of waiting to be saved in the queue.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜