Search the web
Sign In
New User? Sign Up
AJAX_2-0 · AJAX 2.0 = XHTML DOM + Remote JavaScript
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Fw: Urgent help needed in Chat program...   Message List  
Reply | Forward Message #113 of 136 |
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 :  wisdomarena@...
Msn  :  wisdomarena.com@...
Web  : www.wisdomarena.com



Tue Oct 3, 2006 2:09 pm

wisdomarena
Offline Offline
Send Email Send Email

Forward
Message #113 of 136 |
Expand Messages Author Sort by Date

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...
wisdomarena.com
wisdomarena
Offline Send Email
Oct 3, 2006
5:00 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help