cherrypy.config.update({'session_filter.on' : True})
That will result in a "500 Internal Error" page because of a
SessionNotEnabledError. The line should read
cherrypy.config.update({'sessionFilter.on' : True})
With some pointers I'd be happy to provide a diff for the book...
/M
Are you sure you're looking at the right version of the book for ?
(corresponding to the CP version that you use)
Remi.
No, I wasn't. I followed a link Google gave me, so I didn't pay
attention to the 'trunk' in the URL. I should have used the 2.1.0
version.
Does this happen a lot?
I bet it's a nice thing for the authors of the book to have the trunk
published, but it is a possible cause of confusion as well.
/M
--
Magnus Therning (OpenPGP: 0xAB4DFBA4)
mag...@therning.org
http://therning.org/magnus
Software is not manufactured, it is something you write and publish.
Keep Europe free from software patents, we do not want censorship
by patent law on written works.
Some operating systems are called 'user friendly', Linux however is
'expert friendly'.
im using CP 2.1.1 and
cherrypy.config.update({'session_filter.on' : True}) -- doesnt work
cherrypy.config.update({'sessionFilter.on' : True}) -- does
i tried in CP 2.1 and its the same
i think its good idea to po point out which versions work which way
becouse its very nasty error and difficult to spot