在PokeIn应用程序中丢失了信息. [英] Lost Information IN PokeIn application.

查看:80
本文介绍了在PokeIn应用程序中丢失了信息.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我在您的网站上阅读了以下标题的文章.

PokeIn Comet Ajax库的Ajax聊天示例

我有一个问题.

我正在应用程序中实现您的源代码,一切正常,但是当我按f5刷新网页时,我的所有信息都变成空白,我丢失了所有信息.

您有相同的解决方案吗?

问候
Vikas.

Hi
I have read a article in your site with below title.

Ajax Chat Sample for PokeIn Comet Ajax Library

I have a question.

I am implementing your source code in my application, all works fine but when i press f5 to refresh the web page,all my information gets blank and i lost all information.

Do you have any solution for the same.

Regards
Vikas.

推荐答案

您似乎想向与其文章相关的作者问这个问题.

我建议您使用本文结尾处的论坛,以联系作者并快速获得答复.很少您会找到阅读此论坛的作者.

请在文章的消息论坛中发布相同的内容.
It looks like you want to ask this question to an author related to his/her article.

I would suggest you to please use the forum present at the end of the article in order to reach author and get quick response. Rarely you will find authors reading this forum.

Please post the same at the article''s message forum.


PokeIn刷新每次页面加载时的连接,这将强制执行以下操作:

1-特定客户端视图的对象实例处理.您可以通过在"PokeIn处理程序"类的Dispose方法中放置一个断点来进行测试

2-刷新后的页面将获得新的客户端ID


因此,如果即使在页面刷新后,您的应用程序仍需要持久的服务器端对象,则应考虑使用PokeIn的联合功能.产品网站上提供了一个示例项目来代表此功能的使用.
PokeIn refreshes the connection on each page load and this forces the below actions:

1 - Object instance for a specific client view disposes. You can test this by putting a breakpoint into the Dispose method of your "PokeIn handler" class

2 - The refreshed page gets a new client id


So, If your application needs persistent server side objects even after the page refresh, you should consider to use Joint feature of PokeIn. There is a sample project available in the product website to represent the usage of this feature.


这篇关于在PokeIn应用程序中丢失了信息.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆