|
-
May 2nd, 2007, 07:51 AM
#1
Thread Starter
Hyperactive Member
[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.
I am using .NET 2010 with Windows 7
-
May 2nd, 2007, 08:42 AM
#2
Lively Member
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?
-
May 4th, 2007, 02:02 AM
#3
Thread Starter
Hyperactive Member
Re: [2005] Need Idea for Chat..
I am still waiting for u guys..
I am using .NET 2010 with Windows 7
-
May 4th, 2007, 03:54 AM
#4
Thread Starter
Hyperactive Member
-
May 7th, 2007, 06:24 AM
#5
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.
-
May 7th, 2007, 06:25 AM
#6
Re: [2005] Need Idea for Chat..
 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 ?

Session variable.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|