diff -r 4f4369e63f5e -r 6abd6e3599f4 web/views/editviews.py --- a/web/views/editviews.py Mon Apr 12 14:41:01 2010 +0200 +++ b/web/views/editviews.py Tue Apr 13 12:19:24 2010 +0200 @@ -113,5 +113,5 @@ text, data = captcha.captcha(self._cw.vreg.config['captcha-font-file'], self._cw.vreg.config['captcha-font-size']) key = self._cw.form.get('captchakey', 'captcha') - self._cw.set_session_data(key, text) + self._cw.session.data[key] = text self.w(data.read())