Results 1 to 6 of 6

Thread: [2005] Need Idea for Chat..

  1. #1

    Thread Starter
    Hyperactive Member Coool's Avatar
    Join Date
    Feb 2006
    Location
    System.Coool
    Posts
    333

    Smile [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

  2. #2
    Lively Member
    Join Date
    Aug 2006
    Posts
    70

    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?

  3. #3

    Thread Starter
    Hyperactive Member Coool's Avatar
    Join Date
    Feb 2006
    Location
    System.Coool
    Posts
    333

    Re: [2005] Need Idea for Chat..

    I am still waiting for u guys..
    I am using .NET 2010 with Windows 7

  4. #4

    Thread Starter
    Hyperactive Member Coool's Avatar
    Join Date
    Feb 2006
    Location
    System.Coool
    Posts
    333

    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 ?

    I am using .NET 2010 with Windows 7

  5. #5
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    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.

  6. #6
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    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 ?

    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
  •  



Click Here to Expand Forum to Full Width