[Catalyst] Re: Sessions stored only at end of request

Lance A. Brown lance at bearcircle.net
Mon Mar 10 15:13:52 GMT 2008


Chris Czub wrote:
> What would you do to get around this? I could write the status to a file 
> locally and read from that but that seems to go against the 
> Catalyst-way. I tried using a cache and that did not work. I also do not 
> wish to use a JobQueue because requests are allowed to happen at the 
> same time(I realize right now the way the session variable is set up it 
> could step on itself, but I just want to get this working then I'll use 
> a better data structure)

The Catalyst::Plugin::UploadProgress module uses the Cache::FastMmap 
module to cache the status info for the progress meter.  You might do 
something similar.

--[Lance]

-- 
  Celebrate The Circle   http://www.celebratethecircle.org/
  Carolina Spirit Quest  http://www.carolinaspiritquest.org/
  My LiveJournal  http://www.livejournal.com/users/labrown/
  GPG Fingerprint: 409B A409 A38D 92BF 15D9 6EEE 9A82 F2AC 69AC 07B9
  CACert.org Assurer



More information about the Catalyst mailing list