[2005] Need Idea for Chat..
Hi all,
I am bit confused about the technique to use for Chat Application integrated with current website.
I have got work to make Chat application integrated with Sql Server 2005.
I have decided to make use of AJAX Web Extensions control like ScriptManager, UpdatePanel & Timer for Periodic Page Refresh.
But the problem is how can i efficiently maintain log the online or offline users.
For an example, when user login into website i want to make log entry to the DB/Some XML file or some thing else.(This is where i m confused). This is similar to Gmail Chatting from Browser.
Any suggestion is highly appreciated.
Thanks in Advanced.
Re: [2005] Need Idea for Chat..
Hi i am new here and not so pro. in programming but can you explain it for me?
What do you exactly need?
Do you need an event(to run the code which sets the user online in db) that is fired with the entrance of any user?
Re: [2005] Need Idea for Chat..
I am still waiting for u guys..
Re: [2005] Need Idea for Chat..
Ok one more question..
Which is beter to store all the online user info like(id, name)
1. In Static class hashtable ?
2. In Applciation level Dataset ?
:confused: :confused: :confused: :confused: :confused:
Re: [2005] Need Idea for Chat..
You say that your ajax frame will refresh itself based upon a time. Which implies that it will be querying a page.
Which means, when User1 sends a message, it is sent to a page and written to a database table. User2's frame is refreshing itself, waiting, and will constantly query a database for new text.
Because you have text in a database table now, you have logging.
Re: [2005] Need Idea for Chat..
Quote:
Originally Posted by Coool
Ok one more question..
Which is beter to store all the online user info like(id, name)
1. In Static class hashtable ?
2. In Applciation level Dataset ?
:confused: :confused: :confused: :confused: :confused:
Session variable.