| Things to try: |
- While keeping this window open, open this page in a different browser window (perhaps on a different machine, running a different OS, and a different browser). Enter a new name, and send new chat messages. These new messages should appear in both instances of the EvenSimplerTextChat application in both browser windows.
- Call friends in another city, and get them to open this page in their browsers. Enter chat messages. Verify that you can each see each others' chat messages.
- Build this application on your development machine. Run it, and use the first window's File->New Windows menu to open a new instance of the client. It won't work (that is, chat messages will NOT be shared among clients). Why not? Because building the downloaded sample code does not create a EvenSimplerTextChat directory in your [WebORB]/Applications directory. YOu must do that yourself. Add that (empty) directory. Run the sample again. It still won't work. Why not? Because you still haven't added the necessary destination to your WebORB deployment's [WEBORB]\WEB-INF\flex\messaging-config.xml file. Add that destination, and run the application again. It still won't work. Why not? Because WebORB is not aware that you changed messaging-config.xml. You need to force IIS to re-start WebORB. The simplest way to do this is to add a meaningless whitespace character to (or delete one from) [WebORB]/Web.config. That will "bounce" IIS. Now (finally!) the sample should work on your local machine.
|