Ian Docherty wrote:
I have a hash which is acting as my cache but even if I put values into it, on the next request the hash is empty.

Are you aware that apache runs multiple processes and that each process has a different copy of your %cache variable? You will not get the same process each time. If you want to share between processes, you need something like Cache::FastMmap.

- Perrin

_______________________________________________
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/
Dev site: http://dev.catalyst.perl.org/

Reply via email to