Yea, that's what I did. I failed to mention that I had an _initSession in
the bootstrap too. That prevented the resource from being run. So I changed
it to _initSessionStart() and placed $this->bootstrap('session') in front
like you said and that fixed the problem.

On Mon, Jul 6, 2009 at 7:31 AM, ozzycan <[email protected]> wrote:

>
>
> // In your Bootstrap: To make sure that the session resource configuration
> is actually executed before you call start
>
> $this->bootstrap('session');
>
> // Start the Session
> Zend_Session::start();
>
>
> That's what I would do.
>
>
> Specks wrote:
> >
> > That's what I did do. However the session isn't being configured at all
> by
> > the resource. When I do create a new session namespace or use
> > Zend_Session::start() the session goes to the default configuration.
> >
> > On Mon, Jul 6, 2009 at 2:28 AM, ozzycan <[email protected]> wrote:
> >
> >>
> >> Use
> >>
> >> Zend_Session::start();
> >>
> >> or
> >>
> >> define a new session namespace in your Bootstrap (or elsewhere),
> >>
> >> when you're ready to start the session.
> >>
> >> "Zend_Application_Resource_Session allows you to configure Zend_Session
> >> as
> >> well as optionally initialize a session SaveHandler." It doesn't start
> >> it,
> >> AFAIK.
> >>
> >>
> >>
> >> Specks wrote:
> >> >
> >> > I followed the documentation for configuring the session resource
> >> through
> >> > the Application.ini. However Zend_Application doesn't run the Session
> >> > resource to configure sessions.
> >> >
> >> > I have the following in the ini below the [production] section. I just
> >> > want
> >> > to configure the regular file session. Am I missing anything?
> >> >
> >> > resources.session.save_path = APPLICATION_PATH "/../data/session"
> >> > resources.session.use_only_cookies = true
> >> > resources.session.remember_me_seconds = 864000
> >> > resources.session.name = "A NAME"
> >> >
> >> > Any help would be appreciated.
> >> >
> >> > Jamie
> >> >
> >> >
> >>
> >> --
> >> View this message in context:
> >>
> http://www.nabble.com/Zend_Application-is-not-running-the-session-resource.-tp24349578p24352157.html
> >> Sent from the Zend Framework mailing list archive at Nabble.com.
> >>
> >>
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Zend_Application-is-not-running-the-session-resource.-tp24349578p24356513.html
> Sent from the Zend Framework mailing list archive at Nabble.com.
>
>

Reply via email to