[Catalyst] Session::State::URI and static css/js

islue islue.hu at gmail.com
Sat Oct 14 17:54:06 CEST 2006


i think you can do something in Static::Simple's config.
C::P::S::State::URI only ignore binary contents now.

2006/10/8, fayland <fayland at gmail.com>:
> hey, all
> we use something like this to get full session functions provided by
> nothingmuch (thanks a lot):
>
> use Catalyst qw/
>     -Debug
>     Config::YAML
>     Static::Simple
>     Authentication
>     Authentication::Store::DBIC
>     Authentication::Credential::Password
>     Session::DynamicExpiry
>     Session
>     Session::Store::DBIC
>     Session::State::URI
>     Session::State::Cookie
> ...
>
> but the js/css link in the html page becomes something like:
>
> /js/prototype.js?sessionid=ec02016c7dd66d52fa1fff5bbac9d1d6
>
> Session::State::URI sub rewrite_html_with_session_id rewrite ALL link in
> the html. but indeed the js/css don't need the sessionid.
>
> is there a way to avoid it? or can I config like Static::Simple?
> Best Regards,
>
> --
> Fayland Lam // http://www.fayland.org/
>
>
> _______________________________________________
> List: Catalyst at 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/
>



More information about the Catalyst mailing list