Re: Trigger Output

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 52272
interpreted = N
texte = Is this a 'secure' URL you are trying to hit with a trigger? If so, this will not work. Pre 5.1 versions of WebDNA cannot hit secure URLs ( https://.... ) via a trigger. -----Original Message----- From: Chris List Recipient [mailto:chris-list2@surfcity.com] Sent: Friday, August 15, 2003 8:53 AM To: WebDNA-Talk@talk.smithmicro.com Subject: Re: Trigger Output It is a separate file just for trigger processing. The HTML is simply so I can see what it does when I run the trigger manually (via the URL in a web browser). The WRITEFILE worked great. Good idea. My problem now is that the WRITEFILE file is NOT created when the trigger is processed via the WebCat engine. It is only created when I run the trigger manually (via the URL in a web browser). When the trigger is run the next trigger run time is set properly so it looks like it ran. Yet it appears that it didn't actually do anything at all (which was my original problem). And, yes, all my other triggers are processing properly. -Chris -----Original Message----- From: Kenneth Grome [mailto:kengrome@webdna.net] Sent: Thursday, August 14, 2003 5:54 PM To: WebDNA-Talk@talk.smithmicro.com Subject: Re: Trigger Output >I have a trigger that operates differently when called by the >WebCatalog engine and when I launch it in my web browser. The engine ignores everything except webdna when the trigger calls the page. There is no need for any html or javascript in a page that's being called via a trigger. Is there html or javascript in the page that your browser does something with but that the webdna engine does not? >Is there a way to view the >trigger output (i.e., the web page generated by the trigger) for >debugging purposes? You could put the entire page into a writefile context so it gets written to a file, then you can look at the file in any old text editor. But like I said, pages called by triggers don't need any HTML in them. Usually I use separate pages for triggers since no one gets to see the results anyways. -- Sincerely, Kenneth Grome ------------------------------------------------------------- Outsource your WebDNA programming for $18 an hour or less! ------------------------------------------------------------- ------------------------------------------------------------- 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/ ------------------------------------------------------------- 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/ ------------------------------------------------------------- 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: Trigger Output ( Scott Anderson 2003)
  2. Re: Trigger Output ( Chris List Recipient 2003)
  3. Re: Trigger Output ( Kenneth Grome 2003)
  4. Trigger Output ( Chris List Recipient 2003)
Is this a 'secure' URL you are trying to hit with a trigger? If so, this will not work. Pre 5.1 versions of WebDNA cannot hit secure URLs ( https://.... ) via a trigger. -----Original Message----- From: Chris List Recipient [mailto:chris-list2@surfcity.com] Sent: Friday, August 15, 2003 8:53 AM To: WebDNA-Talk@talk.smithmicro.com Subject: Re: Trigger Output It is a separate file just for trigger processing. The HTML is simply so I can see what it does when I run the trigger manually (via the URL in a web browser). The WRITEFILE worked great. Good idea. My problem now is that the WRITEFILE file is NOT created when the trigger is processed via the WebCat engine. It is only created when I run the trigger manually (via the URL in a web browser). When the trigger is run the next trigger run time is set properly so it looks like it ran. Yet it appears that it didn't actually do anything at all (which was my original problem). And, yes, all my other triggers are processing properly. -Chris -----Original Message----- From: Kenneth Grome [mailto:kengrome@webdna.net] Sent: Thursday, August 14, 2003 5:54 PM To: WebDNA-Talk@talk.smithmicro.com Subject: Re: Trigger Output >I have a trigger that operates differently when called by the >WebCatalog engine and when I launch it in my web browser. The engine ignores everything except webdna when the trigger calls the page. There is no need for any html or javascript in a page that's being called via a trigger. Is there html or javascript in the page that your browser does something with but that the webdna engine does not? >Is there a way to view the >trigger output (i.e., the web page generated by the trigger) for >debugging purposes? You could put the entire page into a writefile context so it gets written to a file, then you can look at the file in any old text editor. But like I said, pages called by triggers don't need any HTML in them. Usually I use separate pages for triggers since no one gets to see the results anyways. -- Sincerely, Kenneth Grome ------------------------------------------------------------- Outsource your WebDNA programming for $18 an hour or less! ------------------------------------------------------------- ------------------------------------------------------------- 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/ ------------------------------------------------------------- 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/ ------------------------------------------------------------- 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/ Scott Anderson

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:

Nested Lookups (1998) Passing Cart variable to subdirectory files? (1997) SOLUTION.... Balancing randomness (2000) Calculating UPS Shipping (1999) Non-Cart Files in Shopping Cart Folder (1997) [carts] and databases (1997) Plugin or CGI or both (1997) Multiple prices (1997) [if] and [showif] (2002) [WebDNA] trigger won't follow path? maybe (2009) WebDNA Developer Resource Center (2002) Help! WebCat2 bug (1997) Why do extra quotation marks sometimes appear in my databases? (1998) Payment Processors (2005) unable to launch acgi in WebCat (1997) Sort Order on a page search (1997) Generating Report Totals (1997) Summing fields (1997) can WC render sites out? (1997) Date or time comparisons have bugs ... (1998)