Welcome Guest, Not a member yet? Register   Sign In
Telling the session class to go to sleep
#4

[eluser]a.somervell[/eluser]
Hrm... ok.

When you request http://www.biggie.co.nz/common/css/v4_base.css it is a controller called "common", funciton css. I have the same for js so I can build the files dynamically.

Code:
function css($object) {
    $this->output->set_header("Content-type: text/css");
    $this->output->set_header("Cache-Control: public, max-age=".$this->config->item('cache'));
    $this->load->view('/common/css/'.$object);
}

But that controller fires up the usual codeigniter session stuff, which reads/sets a cookie and hits the sessions table of the DB.

In short, i'd like them not to call the session library, without splitting it out of my main app, and without taking session out of my autoload config.


Messages In This Thread
Telling the session class to go to sleep - by El Forum - 12-09-2009, 04:02 AM
Telling the session class to go to sleep - by El Forum - 12-09-2009, 01:17 PM
Telling the session class to go to sleep - by El Forum - 12-09-2009, 01:40 PM
Telling the session class to go to sleep - by El Forum - 12-09-2009, 02:39 PM
Telling the session class to go to sleep - by El Forum - 12-09-2009, 03:12 PM
Telling the session class to go to sleep - by El Forum - 12-09-2009, 03:17 PM
Telling the session class to go to sleep - by El Forum - 12-09-2009, 03:20 PM
Telling the session class to go to sleep - by El Forum - 12-09-2009, 03:27 PM
Telling the session class to go to sleep - by El Forum - 12-09-2009, 04:25 PM
Telling the session class to go to sleep - by El Forum - 12-11-2009, 03:39 PM



Theme © iAndrew 2016 - Forum software by © MyBB