Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Chat room / user conversation history
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Chat room / user conversation history

 Post Reply Post Reply
Author
iSec View Drop Down
Senior Member
Senior Member
Avatar

Joined: 13 February 2005
Status: Offline
Points: 1140
Post Options Post Options   Thanks (0) Thanks(0)   Quote iSec Quote  Post ReplyReply Direct Link To This Post Topic: Chat room / user conversation history
    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
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
iSec View Drop Down
Senior Member
Senior Member
Avatar

Joined: 13 February 2005
Status: Offline
Points: 1140
Post Options Post Options   Thanks (0) Thanks(0)   Quote iSec Quote  Post ReplyReply Direct Link To This Post 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.


Edited by iSec - 02 July 2011 at 3:43am
"When it gets dark enough, you can see the stars"
-Charles A. Beard
Back to Top
msnahm View Drop Down
Groupie
Groupie


Joined: 27 January 2009
Status: Offline
Points: 41
Post Options Post Options   Thanks (0) Thanks(0)   Quote msnahm Quote  Post ReplyReply Direct Link To This Post 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 *
Back to Top
Nick-V View Drop Down
Senior Member
Senior Member


Joined: 26 October 2002
Location: United Kingdom
Status: Offline
Points: 319
Post Options Post Options   Thanks (0) Thanks(0)   Quote Nick-V Quote  Post ReplyReply Direct Link To This Post 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)



Edited by Nick-V - 04 July 2011 at 5:56pm
Back to Top
Nick-V View Drop Down
Senior Member
Senior Member


Joined: 26 October 2002
Location: United Kingdom
Status: Offline
Points: 319
Post Options Post Options   Thanks (0) Thanks(0)   Quote Nick-V Quote  Post ReplyReply Direct Link To This Post 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 !
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.