I'm not sure what the rationale is for storing the application URL in the session cookie but if you change some things in the server setup it can cause problems. I just switched from a plackup development server on port 5000 to Apache and kept getting a CSS- and JS-less site that hung waiting for these resources to be loaded from the old URL. Clearing the cookie fixed this.
There are four different ways to reference these resources being used in the templates:
At least the last one will probably break on installations that don't live in the server root. Changing session.app_url to app_url in views/theme/styles.tt doesn't seem to cause any ill effects (haven't tested much though).
I'm not sure what the rationale is for storing the application URL in the session cookie but if you change some things in the server setup it can cause problems. I just switched from a plackup development server on port 5000 to Apache and kept getting a CSS- and JS-less site that hung waiting for these resources to be loaded from the old URL. Clearing the cookie fixed this.
There are four different ways to reference these resources being used in the templates:
At least the last one will probably break on installations that don't live in the server root. Changing
session.app_url
toapp_url
inviews/theme/styles.tt
doesn't seem to cause any ill effects (haven't tested much though).