Hey Steve,

Thanks for the help! I put a variabletimeout as 1 for my testing. I'll
increase it, but within the same minute, I went to 2 different rooms and the
chatter username didn't show up. I have 4 chat rooms. In 2 rooms the users
show in the list, in the other 2 they don't. The files are EXACT except for
the color and scope name.
And, naturally the messages don't appear saved in the array.
I've also checked, and all the variables being assigned have scopes defined.
My vars are being called like: @@customscope$variable

I'm on Tango 2000 with the latest service pack. So, I'm stumped! Should I
take the chat tafs out of the site project? Should I remove the site from
the applications.ini file? I don't really think it matters since I'm not
using an AST signature. Anyways, thanks again!

Rick Sanders


Hi Rick,

If you set the VariableTimeout value to "0" then it never expires. "1" means
it'll expire in one minute.

You should note that VariableTimeout behaves differently with v5 for some
scopes. Better check the documentation if you're using the latest version.

Also, you can have multiple Custom Scopes on your Server (they're available
across domains as well). They can be any name other than "System", "Domain",
"local", "User", "Method", "Instance" (did I forget any?).

So SCOPE="betty" is a Custom Scope.

And, you always have to set SCOPE for <@ASSIGN> and <@VAR> because Custom
Scope is exempt from the Scope searching rules for unscoped variables. So
maybe a variable is not scoped somewhere?

Hope this helps. Cheers....

Scott Cadillac,
Witango.org - http://witango.org
403-281-6090 - [EMAIL PROTECTED]
--
Information for the Witango Developer Community
---------------------

XML-Extranet - http://xml-extra.net
403-281-6090 - [EMAIL PROTECTED]
--
Well-formed Development (for hire)
---------------------

-----Original Message-----
From: Rick Sanders [mailto:[EMAIL PROTECTED]
Sent: Sunday, June 15, 2003 9:25 PM
To: [EMAIL PROTECTED]
Subject: Witango-Talk: Custom Scope


Hey List,

I have a site that needs multiple chat rooms. The chat rooms are built in
WiTango, and thus each room will have its own array of users.

I need to create a custom scope for each chat room. The custom scope switch
is on at the server end, and I've added my application in the
applications.ini file. However, it's not working.
I've even tried adding the <@ASSIGN NAME="variabletimeout" value="1"
scope="custom"> and it still doesn't work.

Any help would be appreciated!
Win2K Server


Rick Sanders, President
Tel: (201) 521-0396
Fax: (201) 521-0390
Email: [EMAIL PROTECTED]
Web: www.webenergy-sw.com

________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf


________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf

Reply via email to