Welcome Guest, Not a member yet? Register   Sign In
Specifying no sessions

Heya, we're in the "really small tweaks" part of our site relaunch and we've managed to get a YSlow 98/100 (Google Analytics is killing that elusive 99 and there's no such thing as 100) WOOP WOOP!

Our CSS and JS is served off the application server so we can parse things like site_url() in them. GZipping, setting far future expires headers, all that fun stuff...

I'd like to have the session class in autoload so I dont have to specify it *#$ing everywhere but its being called every time we serve static content. That means the ci_sessions table being updated every time someone comes in for CSS and JS and cookie information being sent with them. We'd like to get rid of that without pushing the CSS and JS to our static content server.

Can anyone think of a way to tell CI to ignore the session class on this particular controller? My first thought is that we have a "Utilities" library that's also auto-loaded, I could write something tricky in there to load the session class unless otherwise specified.

Messages In This Thread
Specifying no sessions - by El Forum - 06-27-2009, 06:37 PM
Specifying no sessions - by El Forum - 06-28-2009, 03:58 AM

Theme © iAndrew 2016 - Forum software by © MyBB