Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6
This is the forum to discuss the Wrox book ASP.NET 2.0 Instant Results by Imar Spaanjaars, Paul Wilton, Shawn Livermore; ISBN: 9780471749516
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 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 March 21st, 2007, 11:02 AM
Authorized User
 
Join Date: Mar 2007
Location: , , .
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default Wrox Chat

Hi Imar,

I have tested the wrox chat, but I don't see the text I send in the window text area. Also, I don't see my self or other people who are chatting at the same time. Is it supposed to work like this?

Thanks

Danny Hidayat
__________________
Danny Hidayat
  #2 (permalink)  
Old March 21st, 2007, 11:08 AM
Imar's Avatar
Wrox Author
Points: 72,055, Level: 100
Points: 72,055, Level: 100 Points: 72,055, Level: 100 Points: 72,055, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,086
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

Let me try this once again. Do you have the book? Did you read page 78 and onwards?

Imar
  #3 (permalink)  
Old March 21st, 2007, 12:23 PM
Authorized User
 
Join Date: Mar 2007
Location: , , .
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Imar,

I read through and get to page 92 which said that ChatWindow.aspx is not used to accept user chatted messages.

My fault, I was expecting to get instant result and did not read through it. I thought I would get a chat room that users can chat back and forth.

I am not a .NET programmer but I wanted to get an instant results. Thanks for all your time. Let me know if there is any source I can used to create my own chat room.

Danny Hidayat
  #4 (permalink)  
Old March 21st, 2007, 12:44 PM
Imar's Avatar
Wrox Author
Points: 72,055, Level: 100
Points: 72,055, Level: 100 Points: 72,055, Level: 100 Points: 72,055, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,086
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

You may have misread that part. The page uses iframes to separate user input and general chat messages. It says that ChatWindow.aspx is not used for user input; it doesn't say the application can't accept user input or display and accept input at the same time.

I just opened the application in two different browsers, went to /ChatServer/ContentFiles/, clicked a chat room, chose a name and then I was able to chat, with instant results, between the two windows. Whatever I entered in FireFox, would show up a second later in IE in vice versa. So, it works as you'd expect by design, but maybe something went wrong in your setup...

Imar
---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
Want to be my colleague? Then check out this post.
  #5 (permalink)  
Old March 21st, 2007, 01:51 PM
Authorized User
 
Join Date: Mar 2007
Location: , , .
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Imar,

Thanks, I will reinstall it and hope it would work.

Danny Hidayat
  #6 (permalink)  
Old March 21st, 2007, 02:28 PM
Imar's Avatar
Wrox Author
Points: 72,055, Level: 100
Points: 72,055, Level: 100 Points: 72,055, Level: 100 Points: 72,055, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,086
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

No need to reinstall. Just choose File | Open web site in Visual Studio. Then hit F5 to browse to the site, and click he ContentFiles folder. From there, the app looks as described in the first few pages of the chapter.

Imar
---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
Want to be my colleague? Then check out this post.
  #7 (permalink)  
Old March 27th, 2007, 10:47 AM
Authorized User
 
Join Date: Mar 2007
Location: , , .
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Imar,

Thanks for all your help. The book is great! The chat room works great too.

I need to add the function for people to create an account in oder to join the chat. The person also has to belong to an existing membership table that contain his id, first name, and last name. Once his ID and last name is varified against that table, then he can create an account with username and password. He then can sign in to the chat room using his username and password. Once he is in the chat room, it has to show his first and last name instead of his email address. So the chatters know who are chatting by their first name and last name. Do you know any resources that I can go to?

Thanks a bunch!

Danny Hidayat
  #8 (permalink)  
Old March 27th, 2007, 11:54 AM
Imar's Avatar
Wrox Author
Points: 72,055, Level: 100
Points: 72,055, Level: 100 Points: 72,055, Level: 100 Points: 72,055, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,086
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

Take a look at the Appointment Booking chapter that shows the general ID of signing up and logging in on an ASP.NET 2 web site.

Then go here: http://weblogs.asp.net/scottgu/archi...18/427754.aspx to see how to tweak the CreateUserWizard to include additional details like first name and last name.

HtH,

Imar
---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
Want to be my colleague? Then check out this post.
 


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
Wrox Chat in C#! ostwald BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 13 December 13th, 2007 03:10 AM
Wrox Chat danielson BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 0 April 4th, 2007 01:16 PM
Thanks to some outstanding p2p.wrox.com Wrox.com jminatel Forum and Wrox.com Feedback 0 February 23rd, 2006 11:30 PM
Chat Application sachindhillan Classic ASP Basics 2 August 10th, 2004 12:32 AM
Wrox and Wrox.com FAQs (updated March 2, 2004) jminatel General Announcements 0 June 6th, 2003 09:23 AM



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


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