[Catalyst] user-specific static directories?
Caroline Johnston
johnston at biochemistry.ucl.ac.uk
Thu May 18 17:21:26 CEST 2006
Hi,
Any suggestions on how to go about having user specific static
directories?
I've got an a catalyst application which generates various plots. I want
only the logged-in user to be able to view their own plots and I'm using
C::P::StaticSimple.
I was thinking of creating a subdirectory of static for each user, but I
only want to add this directory to the static include_path for the current
user. Is there a point at which the user is logged in but the
static::simple plugin hasn't done it's thing yet? Or is there a better way
to approach this?
Cheers,
Cass.
More information about the Catalyst
mailing list