[Catalyst] A question on persistence with sessions or similar

Andrew Rodland arodland at comcast.net
Wed Nov 7 03:59:19 GMT 2007


On Tuesday 06 November 2007 09:40:01 pm Joe Landman wrote:
> Hi Folks:
>
>    Here is what I want to do.  I want to preserve values of stuff across
> the life of a session, without having to jump through hoops to do it.  I
> want it to survive redirects in the app.  It would be nice if it were
> just like stash.
>
>    Really, it is very simple.  And I thought I had it.
>
> 	$c->flash

> [...]

>    Finally as an RFE for 5.8, it would be really, really nice if there
> was a $c->sessionstash that worked just like stash.  Stash is great,
> things that work like stash are great.


There is. It's called "session". Flash works like session except that stuff 
disappears after the first time you read it -- thus the mysterious "data 
dropouts".

Andrew



More information about the Catalyst mailing list