Click here to Skip to main content
15,918,668 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
when I open chat window in my system with one logged in user then I want start a chat session between me and him.....
while that window not open his system............please help me
thanx in advance.
Posted
Comments
MZwahlen 10-Oct-11 10:08am    
Please give mor details and describe your environment and using technology...
Sure you tagged correctly with "ASP.NET" ?
divydivy 10-Oct-11 21:34pm    
yes asp.net using c# and jquery basically I took the help or mostly code from this link http://anantgarg.com/2009/05/13/gmail-facebook-style-jquery-chat/

1 solution

Hi,

you've to check in clientside (Jquery).

one Jquery function repeatedly check for incomming msgs to current user that means client.

If you enterred msg in that chat session.then the client function take care of that msgs like

if chatbox_username exists
if chatbox_username.style.display is none
chatbox_username.style.display=''
else

create chatbox_username div tag and append to body tag

this is the process involved in chat application

If you post your client script that can helps developer to solve your problem

And check your client script for openning window on events.

All the Best
 
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