Print Page | Close Window

Chat room / user conversation history

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=29480
Printed Date: 01 April 2026 at 7:26am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Chat room / user conversation history
Posted By: iSec
Subject: Chat room / user conversation history
Date Posted: 01 July 2011 at 2:01am
Users are loving the new chat room feature but are not happy that their chat history is available to those who come in later and read it. In other words, they're worried about their privacy and would like to have the text NOT show to newly chat room-joining users... is this possible?

-------------
"When it gets dark enough, you can see the stars"
-Charles A. Beard



Replies:
Posted By: WebWiz-Bruce
Date Posted: 01 July 2011 at 8:10am
Private chat rooms are currently not supported.

Chat is available to all members who have permission to use the chat room.


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: iSec
Date Posted: 01 July 2011 at 10:03pm
Sorry, I should have been more clear.

When a group of users are having a conversation among themselves, and someone else joins the chat room... that someone else should not be able to see 'previously typed' conversation. He/she should see conversation starting after he/she has joined the room.

Another example, if Bruce, me, and another person are chatting... and we leave the chat room. An hour later a totally different user logs on to the chat room... that user should not be able to see what we typed... he should see a clear chat room starting from scratch.

I hope this clarifies what I meant in my initial post; I appreciate all your help.


-------------
"When it gets dark enough, you can see the stars"
-Charles A. Beard


Posted By: msnahm
Date Posted: 03 July 2011 at 6:45am
I run ww 10.01 on Localhost with Windows 7 and IIS7, the chat room tools appear folowing error to me:
* Your session has been dropped or expired. Please refresh the page *


Posted By: Nick-V
Date Posted: 04 July 2011 at 5:48pm

I also noticed the chat room keeping some chat history then displaying it to a new member upon entry. 

I can imagine why this might be very undesirable; if a member is not present at the time of chat it is fair to assume they will not know what was said. At the very least this behaviour requires a warning before someone is very embarrassed - most of us are a bit two-faced !!!

May I please know where the  chat history is stored (memory or file) and how it is cleared (on reboot, when it reaches some limit?).

PS: it looks like the last 16 lines of  chat are shown on entry.

PSS: typo in file "chat_room_language_file_inc.asp": Const strTxtYourAccountIsSuspended = "Your account is suspened" (<SUSPENDED)



Posted By: Nick-V
Date Posted: 04 July 2011 at 6:19pm

Having looked further I believe the chat room is designed to display the last 15 lines of chat. These are held in memory. The array size is defined in file "chat_server.asp" as "Const intMaxChatArraySize = 15".

Changing 15 to 0 (then restarting your web server) seems to be the solution (not quite - see below). If this is the case I would like to see this number being an admin option in the new control file.

I am guessing there is a code glitch in the handling of this array - examples:

  1. 16 lines of code display instead of 15
  2. setting to 0 then 1 line still displays
  3. the entry and exit of members seems to get confused here somehow. Indeed if I leave ten return quickly I appear to leave after I have returned...I am present  but the last message shows I have left.
I will investigate further but Bruce can probably track down the glitch far faster !


Posted By: WebWiz-Bruce
Date Posted: 05 July 2011 at 9:05am
The Chat Room does not have private chat rooms for private chat and so works like other public style chat rooms showing conversation from people chatting in the chat room. If people need to talk privately then they should use private messaging.

Arrays in ASP start at position 0 so if intMaxChatArraySize is set to 15 you have 16 array positions from 0 to 15.

There is an issue displaying when a user has left the chat room if there are not others using the chat room. This is because of the restrictions of ASP that we need someone using the chat room in order to fire the code that makes it work. If there is no-one in the chat room then the code does not run to record if the member has left or not. It fires again when someone visits the chat room, which does mean that it does sometime display the member has left when they have just come back because there is no-one using the chat room for the code to update.


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net