I am also experiencing this issue, however I tried to recreate it with a
simple view/controller, and was unable to do so, but I have a much larger
application with the problem. I'm currently using v 2.2.1.
Is there any way to "watch" the session.flash variable to see where it is
getting unset a
I am now are of this problem. Can you please post a complete minimalist
code example (model, controller, view) so we can try reproduce it? What
web2py version are you using?
On Friday, 28 December 2012 20:18:17 UTC-6, VP wrote:
>
> I do not think it s a js issue, because there's no js error and
I do not think it s a js issue, because there's no js error and after
removing the js (my own, not web2py's), the problem is still there.
Say I have a controller f
def f():
form =
if form.processes(onvalidation=...).accepted:
session.flash = 'Test'
redirect(URL('f', args=for
Please post an example to reproduce the problem. Could it be a js issue? Do
you get chrome errors? Is the flash in the page text?
On Thursday, 27 December 2012 17:55:46 UTC-6, VP wrote:
>
> session.flash does not work properly for me either (latest web2py stable
> version).
>
> when i redirect t
session.flash does not work properly for me either (latest web2py stable
version).
when i redirect to the same controller , it works for some controller and
doesn't work for other controllers.
Have no idea why.
--
On 21 Dec 2012, at 2:13 PM, Luca wrote:
> I searched the code base, and I cannot find any place where an assignment
> like: response.flash = session.flash appears.
> Is this broken?
It's in Session.connect:
if self.flash:
(response.flash, self.flash) = (self.flash, None)
I searched the code base, and I cannot find any place where an assignment
like: response.flash = session.flash appears.
Is this broken?
On Friday, December 21, 2012 1:53:21 PM UTC-8, Luca wrote:
>
> I have this very simple code:
>
> session.flash = T('The contest is still open to subm
7 matches
Mail list logo