Well, I have no idea how gmail/facebook is solving the issue you just stated, but its obvious that what you are describing would happen unless you have some sort of state saved either in cookies or else the server side session. If the chat convos are NOT saved somewhere you have no hope of getting them back because on any kind of postback the page is rebuilt and the entire client side state is lost.
It would not be wise to save the entire convo in cookies (could get very large), instead you should save the convo in a DB and have a convo ID that you save as a currentConvoID (or a list of current convo IDs) as a cookie. When the page is refreshed, your GWT code can check to see if the cookie exists and if it does it can query the server for the convo(s) and rebuild the convo(s). Done. Hope this helps. On Jul 10, 5:10 am, KC Jagadeep <[email protected]> wrote: > Dear friends.. > > I want to Develop a Gmail/Facebook Like chat application in ASP.Net/ > C#,XML/MS SQL > Is GWT will help me to do the same ? > > Now I can do the same with Ajax,Xml, with help of DHTML, but the chat > windows r closing in all psotback/ page refresh/ server side > updations.. > > But it wont happen in gmail chat.. its always stable... > > any one can help me ? > > thanks > KC Jagadeep --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
