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

fayland fayland at gmail.com
Sun Oct 8 07:16:42 CEST 2006


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/ 




More information about the Catalyst mailing list