瞎摆摆

|

乱弹-互联网、游戏、程序、设计

插件手记(一)

一月 26th, 2009 at 0:59  |  4,381 views

装了一个插件WP-PostViews,可以显示每篇blog的page view,调试却发现IE下访问页面计数器不变。Firefox、Chrome都没有这个问题,基于IE的搜狗浏览器也有,怪了。起初怀疑是IE缓存造成,清除以后问题依旧。然后大致看了下插件的源码,也没看出症结。于是这个问题伴随着我一直到春晚结束。又把已经关了的台式机打开,用Maxthon测试却发现计数器正常。无奈之下只好重启笔记本,然后灵光一闪,想到之前一直是用IE登录的管理后台,该不会是因为计数器跳过了管理员session吧。尝试注销admin,然后刷新了一篇blog,终于看到view值如预期般的加1,问题解决。

Tags: , ,

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word