hi friends
 
    I have a simple problem. like i have a small chat box in my project (ASP.NET with C#) where i am using AJAX

XMLHttpRequest object.

i have two function one for getChatdata and another for sendChatdata.

i am using this syntax for sending data

var dataSource ="XMLHttpData.aspx?Typ="+Typ + "&Msg="+Msg;

XMLHttpRequestObject.open('GET',dataSource,true);

 

and for receving data i am using same XMLHttpRequestobject 's Get Method.

and my GetChatData is refreshing after every two second.

window.setTimeout("getChatData('"+ Typ +"','"+ divID +"')",2000);

 

now the problem is  my functions working fine but GetChatData function is getting only first time data..when i have started that browser.not any other message which i send later.  but it works fine in my local system. but on another system it is not working

i have also tried

window.setTimeout("new getChatData('"+ Typ +"','"+ divID +"')",2000);

but same result.

could you please tell me what may be a problem ?


Thanks & Regards.
Rajesh Soni
Yahoo :  [EMAIL PROTECTED]
Msn  :  [EMAIL PROTECTED]
Web  : www.wisdomarena.com

 

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ajax.NET Professional" 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/ajaxpro

The latest downloads of Ajax.NET Professional can be found at http://www.ajaxpro.info/

Don't forget to read my blog at http://weblogs.asp.net/mschwarz/
-~----------~----~----~----~------~----~------~--~---

Reply via email to