Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
ASP.NET 1.0 and 1.1 Professional For advanced ASP.NET 1.x coders. Beginning-level questions will be redirected to other forums. NOT for "classic" ASP 3 or the newer ASP.NET 2.0 and 3.5
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Professional section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old October 1st, 2003, 06:16 AM
uxi uxi is offline
Registered User
Join Date: Sep 2003
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chat Application

I am creating a chat application using ASP.Net and C#.

The chat room has frames...and one frame is chat box ---which shows all the messages.. To keep chat box keep collecting the messages and showing it... a meta tag of refresh (may be 2 secs. or so ) is required. This mechanism works fine.

But i need to know and implement of some other mechanism by which the chat box can keep listening and collecting, showing the messages. As the refresh method looks bad refreshing the frame again an again showing that blue progress bar in the browser...moreover i dont find it to be efficient in terms of performance.

I am using .Net remoting concept... but help can also be provided for web service or whatever you find suitable.

If any details please contact -


Thanks in Advance .

  #2 (permalink)  
Old October 1st, 2003, 08:39 AM
planoie's Avatar
Friend of Wrox
Points: 16,481, Level: 55
Points: 16,481, Level: 55 Points: 16,481, Level: 55 Points: 16,481, Level: 55
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts

Well, here's a possible idea...
You add a third frame that is not visible. This frame has the page that refreshes regularly and it updates the textarea in your messages frame which remains as a static (i.e. non-refreshing) page. So you don't see the refresh on the messages page, but it remains updated by this hidden frame. I don't think that this will solve your problem with the blue progress bar in the browser however. There's no way to avoid this if you are just building a simple application in asp.net (i.e. html). If you wanted more of an application feel you would probably need to write some kind of applet that runs in the browser and does it's own communications so the page that the applet sits on only loads once.

Alternatively, you could build this chat application in flash and let flash talk to a web service for message posting and retrieval. That would be a neat solution too.


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
chat application krishna_krrish .NET Framework 1.x 0 August 14th, 2006 12:40 PM
want help(chat application) amitjava J2EE 3 September 27th, 2004 03:20 AM
How can i do Chat Application? ccc_storage Classic ASP Professional 2 September 13th, 2004 09:31 AM
Chat Application sachindhillan Classic ASP Basics 2 August 10th, 2004 12:32 AM
Chat Application uxi ASP.NET 1.0 and 1.1 Basics 0 October 1st, 2003 06:27 AM

All times are GMT -4. The time now is 02:00 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.