[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "Session expired" when clicking too fast



On Mon, Aug 15, 2011 at 7:01 AM, Jos Geluk <..hidden..> wrote:
> Hello,
>
> I notice that when I click two links on the menu sidebar rapidly in
> succession, I get a "Session expired" warning. I need to fill in my
> password and off we go again. With browsers remembering passwords, this
> is not too much of a problem. But I don't think it should be happening.
>
> This is LedgerSMB 1.2.21 running on a home server on Ubuntu 11.04. The
> browser can be anything. The error is very much repeatable.
>
> Any ideas?
>
Yes, it is an issue with 1.2.x.  What happens is that the session
counter has an increment value to keep forms from getting
double-submitted by accident.  The bad news is there isn't an easy way
to fix this in 1.2.x.  The good news is we have a better, far more
robust solution in 1.3 which avoids this problem.

Best Wishes,
Chris Travers