Return-Path: Delivered-To: apmail-perl-embperl-archive@www.apache.org Received: (qmail 90366 invoked from network); 17 May 2004 15:04:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 17 May 2004 15:04:22 -0000 Received: (qmail 60147 invoked by uid 500); 17 May 2004 15:03:57 -0000 Delivered-To: apmail-perl-embperl-archive@perl.apache.org Received: (qmail 59805 invoked by uid 500); 17 May 2004 15:03:54 -0000 Mailing-List: contact embperl-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Delivered-To: mailing list embperl@perl.apache.org Received: (qmail 59590 invoked by uid 98); 17 May 2004 15:03:51 -0000 Received: from drayner@savicom.net by hermes.apache.org by uid 82 with qmail-scanner-1.20 (clamuko: 0.70. Clear:RC:0(216.39.113.20):. Processed in 0.3367 secs); 17 May 2004 15:03:51 -0000 X-Qmail-Scanner-Mail-From: drayner@savicom.net via hermes.apache.org X-Qmail-Scanner: 1.20 (Clear:RC:0(216.39.113.20):. Processed in 0.3367 secs) Received: from unknown (HELO corpmx.savicom.net) (216.39.113.20) by hermes.apache.org with SMTP; 17 May 2004 15:03:50 -0000 Received: from Doug (office.mindsharedesign.com [216.39.112.17]) by corpmx.savicom.net (8.12.9/8.12.3) with SMTP id i4HErDBc005662 for ; Mon, 17 May 2004 07:53:13 -0700 (PDT) (envelope-from drayner@savicom.net) Message-ID: <000f01c43c20$3011cef0$1f00a8c0@Doug> From: "Doug Rayner" To: "Embperl" Subject: Difference between %udat and %sdat? Date: Mon, 17 May 2004 08:04:01 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 X-Spam-Rating: hermes.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N I would like to share state between the application object and code on individual template pages for the duration of a request. I'm not sure what the best way to do this is. I considered using %udat, but this causes an unnecessary storing of the session object at the end of the request. I see there is a another "state" object (%sdat), but I'm not sure what the intended use of this is, or how %sdat differs from %udat. I don't see any properties on the application object itself that seem intended for this purpose. Is the application object a hahs reference? Could one add new hash keys to it if one desired? Any suggestions welcomed... Thanks and regards, Doug Rayner Senior System Architect Savicom: Next Generation eMail Marketing http://www.savicom.net (415) 617-9006 --------------------------------------------------------------------- To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org For additional commands, e-mail: embperl-help@perl.apache.org