Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Clearing screen display

Status
Not open for further replies.

mtarby

Programmer
Feb 19, 2003
89
US
I've got a little chat application I'm trying to modify, so far I've added all the features I want, except I can't figure out how to clear the contents of the chat window when someone leaves the room.

This is the code that is supposed to clear everything:

Code:
<%
application("emchatusers") = ""
for f=1 to 20
Application(f)=""
next
%>

Unfortunately, it doesn't. What should I be looking for in the chat script (or should add to this page) - would killing all the cookies used help me?

Any advice would be appreciated. I can post more code if that would help.

Thanks in advance!

Michelle
 
for f=1 to 20
Application(f)=""
next


will set Applicatiopn(1,2....) to "" is that how u store the chat variables???
 
That's how I'm reading the code - so I will definately try that! Thanks for the suggestion.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top