Click here to Skip to main content
16,019,983 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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.
Posted

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.
 
Share this answer
 
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.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900