Re: [spawn] processes

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 60381
interpreted = N
texte = This is just the sort of thing that [spawn] was implemented for. The=20 only issues I'd mention are that some aspects of the current page's=20 environment do not remain defined within the spawn context - I believe=20= [table] [arrayset] and [function] items are among those that are (or=20 were, maybe version 6 changes this) not carried over. Text, math and=20 form variables are certainly fine to expect to still be defined within=20= the spawn, but probably not searches. In general, think of the contents=20= of the [spawn] context as an independent page, making sure that it is=20 as self-contained as possible. - Brian On Dec 8, 2004, at 6:45 AM, Daryl Mitchell wrote: > I want to execute some SQL statements to our company MIS system=20 > (running Oracle) and get some results back when a customer submits an=20= > order over our sites. Since the process could take some time, and the=20= > results are irrelevant to the customer, I was considering using=20 > [spawn] to do the process. That way the customer can either leave the=20= > site or shop again with a new cart while the SQL action takes place in=20= > the background. > > Has anyone tried this before, and if so, are there any problems I=20 > should consider? > > ------ > Daryl Mitchell, E-Business Specialist > PW Group Ltd. =B7 Saskatoon, SK CANADA > Tel: (306) 665-3557 =B7 Fax (306) 664-0094 > d.mitchell@pwgroup.ca =B7 www.pwgroup.ca > -- Brian Fries, BrainScan Software -- http://www.brainscansoftware.com=20= -- ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: [spawn] processes ( Daryl Mitchell 2004)
  2. Re: [spawn] processes ( Brian Fries 2004)
  3. [spawn] processes ( Daryl Mitchell 2004)
This is just the sort of thing that [spawn] was implemented for. The=20 only issues I'd mention are that some aspects of the current page's=20 environment do not remain defined within the spawn context - I believe=20= [table] [arrayset] and [function] items are among those that are (or=20 were, maybe version 6 changes this) not carried over. Text, math and=20 form variables are certainly fine to expect to still be defined within=20= the spawn, but probably not searches. In general, think of the contents=20= of the [spawn] context as an independent page, making sure that it is=20 as self-contained as possible. - Brian On Dec 8, 2004, at 6:45 AM, Daryl Mitchell wrote: > I want to execute some SQL statements to our company MIS system=20 > (running Oracle) and get some results back when a customer submits an=20= > order over our sites. Since the process could take some time, and the=20= > results are irrelevant to the customer, I was considering using=20 > [spawn] to do the process. That way the customer can either leave the=20= > site or shop again with a new cart while the SQL action takes place in=20= > the background. > > Has anyone tried this before, and if so, are there any problems I=20 > should consider? > > ------ > Daryl Mitchell, E-Business Specialist > PW Group Ltd. =B7 Saskatoon, SK CANADA > Tel: (306) 665-3557 =B7 Fax (306) 664-0094 > d.mitchell@pwgroup.ca =B7 www.pwgroup.ca > -- Brian Fries, BrainScan Software -- http://www.brainscansoftware.com=20= -- ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Brian Fries

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

More than one db with the same namn (was: WC2f3) (1997) Error handling for accountNum (1997) question: webdelivery folder and file (1997) BannerAds demo (1998) RE: [WebDNA] Redirecting incoming URL request to https page (2018) Form based Redirect (2001) Shared conversion under WebTen (1998) # fields limited? (1997) WebDNA Feature Request (2006) WebCat Hosting (1998) WebCatalog NT beta 18 now available (1997) [WebDNA] ubuntu permissions can't append db (2019) filemaker - orderfile (1997) What file? (1997) mutiple word search in one field (1999) Where is f2? (1997) syntax question, not in online refernce (1997) Line items in table cells (1997) WebCat2: Items xx to xx shown, etc. (1997) Re[2]: 2nd WebCatalog2 Feature Request (1996)