I think I found the source of my problem, but there must
have been a
change in the package. I was using the class name
"session_filter". I
changed my settings dictionary to:
{ ...,
"sessionFilter.on": True,
"sessionFilter.timeout": 1,
...
}
and it works again!
Thanks,
-- tsf
On 8/11/06, Robert Brewer <fumanchu amor.org> wrote:
>
> T. S. Ferreira wrote:
> > I have an application using CherryPy which worked
nicely under my
> > Fedora Core 3 installation. I replaced my system
by Fedora Core 5, and
> > now I get an error page from my server with the
following traceback:
> >
> >
> > ===============
> > ...
> > File
"/home/tsf/myappl/submission.py", line 127, in
> > processSubmission
> > myObject.id =
cherrypy.session.get("_id",None)
> > File
> >
"/usr/lib/python2.4/site-packages/cherrypy/lib/filter/
sessionf
> ilter.py",
> > line 442, in __getattr__
> > raise SessionNotEnabledError()
> > SessionNotEnabledError
> > ===============
> >
> > It seems that I cannot get the session id, even
though it worked
> > already. Is there anything that must be configured
in the operating
> > system itself?
> >
> > BTW, my server configuration does include the
line:
> >
> > "session_filter.on": True
> >
> > Otherwise it would not have worked before either.
>
>
> Can you try cherrypy\test\test_session_filter.py and
see if it works? I
> also wonder if you have
"session_filter.storage_class" defined.
>
>
> Robert Brewer
> System Architect
> Amor Ministries
> fumanchu amor.org
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "cherrypy-users" group.
To post to this group, send email to cherrypy-users googlegroups.com
To unsubscribe from this group, send email to
cherrypy-users-unsubscribe googlegroups.com
For more options, visit this group at http://
groups.google.com/group/cherrypy-users
-~----------~----~----~----~------~----~------~--~---
|