Wayne,

I would say this is likely to be a problem with the Web Server, rather than
Tango.  I'm a Windows-kinda-guy, so can't comment on any aspect of
WebStar...

Here's how it *should* work...

On Windows, the way in which domain-scope variables is handled is partly due
to the Web Server (I use IIS) and partly down to the configuration of Tango.
For example, it is possible to access the same virtual server using multiple
domains/subdomains, for example, www.mydomain.com; mydomain.com;
foo.mydomain.com; 192.168.0.1; etc.  You configure the Web Server to host
all of those as a single virtual server.

In Tango, the default behaviour is to allocate domain-scope variables to
whatever domain the site was accessed from.  In the example above, you'd
actually get 4 sets of unique domain-scope variables.  You use the
domains.ini (on Windows) to tell Tango that all the variations are the same
"Tango Domain" with an entry something like this:

[Domains]
mydomain.com=

[mydomain.com]
1=www.mydomain.com
2=mydomain.com
3=foo.mydomain.com
4=192.168.0.1

This forces all the different possible URLs for the same site to be
'grouped' together and share domain-scope variables.

Obviously, what you're seeing is a separate problem, but I thought this
might invoke some thought as to where the WebStar problem lies...

Regards,
Jon



-----Original Message-----
From: Wayne Irvine [mailto:[EMAIL PROTECTED]]
Sent: 25 September 2002 11:57
To: Multiple recipients of list witango-talk
Subject: Witango-Talk: Arrays of scope domain don't behave


Does anyone want to make comment on this?

____________________________________________

I'm sure this has been covered and I was playing hookey that day but I have
just discovered that arrays of scope 'domain' don't seem to want to behave.

If I assign an array in one domain it can be seen in another on the same
server.

I'm using Welcome for virtual hosting, WebStar 4.4 on Mac OS9.1 on a G4.
It's Tango 2000 with the last SP Pervasive ($#&%$) released.

Is this a known problem?
Is there a solution?

Wayne Irvine

                  Byte Services Pty Ltd
               http://www.byteserve.com.au/
                  [EMAIL PROTECTED]
   Ph 02 9960 6099   Mob 0409 960 609   Fax 02 9960 6088

________________________________________________________________________
TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
                with unsubscribe witango-talk in the message body
________________________________________________________________________
TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
                with unsubscribe witango-talk in the message body

Reply via email to