There lists are used by all users in the site to populate drop down lists.

So domain makes sense I'm just looking for any issues that might arise.

on 12/4/03 9:52, Alan Wolfe at [EMAIL PROTECTED] wrote:

> hey dan, seems to me that the scope of a variable should be defined by how
> you want that variable to behave.
> 
> if each user has their own list, it would make sense to make it user scope,
> whereas if everyone on the server needs a specific list, that would be a
> domain scope.
> 
> if a you only need a list temporarily for one request where you display it
> then dont need to remember what the list is, that sounds like local scope.
> 
> not sure the arguments for making your user scope vars into domain scope
> vars but this seems to make most sense to me.
> 
> ----- Original Message -----
> From: "Dan Stein" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, December 04, 2003 6:17 AM
> Subject: Witango-Talk: Domain vs. User scope
> 
> 
>> From the Tk2 days I have the habit of loading variables I use to populate
>> drop downs etc into user scope.
>> 
>> In the past my apps have run on machines I control and they have plenty of
>> RAM and have not been that busy.
>> 
>> Now I am starting to have these apps hosted where many witango sites may
> be
>> running.
>> 
>> So it has been suggested that I load variables into the domain scope.
>> 
>> What are the possible pitfalls?
>> 
>> How do movement from HTTP to HTTPS and back effect these issues?
>> 
>> Should I keep using the if statement at the top of critical tafs that look
>> for the existence of one of the variables and reloads them from tcf if it
> is
>> empty?
>> 
>> Dan
>> 
>> -- 
>> Dan Stein
>> Digital Software Solutions
>> 799 Evergreen Circle
>> Telford PA 18969
>> Land: 215-799-0192
>> Mobile: 610-256-2843
>> Fax 413-410-9682
>> FMP, WiTango, EDI,SQL 2000
>> [EMAIL PROTECTED]
>> www.dss-db.com
>> 
>> 
>>     "When you are born, you cry and those who love you rejoice.  And if
> you
>> live your life as you should, when you die, you rejoice and those who
>> love you cry."
>> 
>> ________________________________________________________________________
>> TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf
> 
> ________________________________________________________________________
> TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf
> 

-- 
Dan Stein
Digital Software Solutions
799 Evergreen Circle
Telford PA 18969
Land: 215-799-0192
Mobile: 610-256-2843
Fax 413-410-9682
FMP, WiTango, EDI,SQL 2000
[EMAIL PROTECTED]
www.dss-db.com


    "When you are born, you cry and those who love you rejoice.  And if you
live your life as you should, when you die, you rejoice and those who
love you cry."

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

Reply via email to