From: Jesse Sheidlower Date: Tue, 3 May 2005 01:44:50 +0000 (+0000) Subject: doc: clarified nonpersistence of the stash in C::M::Intro X-Git-Tag: 5.7099_04~1410 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=dd25a19276c556cc6dd511c3fa374f0f9face0fd doc: clarified nonpersistence of the stash in C::M::Intro --- diff --git a/lib/Catalyst/Manual/Intro.pod b/lib/Catalyst/Manual/Intro.pod index 3a13a43..bc1358d 100644 --- a/lib/Catalyst/Manual/Intro.pod +++ b/lib/Catalyst/Manual/Intro.pod @@ -242,6 +242,8 @@ The last of these, the stash, is a universal hash for sharing data among applica $c->res->output( $c->stash->{message} ); } +Note that the stash should be used only for passing data in an individual request cycle; it gets cleared at a new request. If you need to maintain more persistent data, use a session. + =head3 Actions A Catalyst controller is defined by its actions. An action is