Re: [web2py] Re: session.flash not working?

2013-01-24 Thread Jason Martens
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

Re: [web2py] Re: session.flash not working?

2012-12-28 Thread Massimo Di Pierro
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

Re: [web2py] Re: session.flash not working?

2012-12-28 Thread VP
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

Re: [web2py] Re: session.flash not working?

2012-12-27 Thread Massimo Di Pierro
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

Re: [web2py] Re: session.flash not working?

2012-12-27 Thread VP
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. --

Re: [web2py] Re: session.flash not working?

2012-12-21 Thread Jonathan Lundell
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)

[web2py] Re: session.flash not working?

2012-12-21 Thread Luca
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