Session variable not set after sessionrotate() within same request

Hello

writedump(session);
session.a = now();
sessionrotate();
session.b = now();

If you run that a couple of times (hit refresh), session.a is set, but session.b is never set.

This used to work on Lucee 4.x and 5.1.x but not newer versions.

Am I misusing sessionrotate() - I can’t find out if this is expected behaviour.

Any clues anyone?
Thanks
Geoff

1 Like

This looks like a regression in the latest release of Lucee to me (I tested on 5.2.3.35). I’d go ahead and file a bug report on this one. I did a quick search but didn’t see any already filed issues that touch on this.

HTH

– Denny

Thanks Denny, bug raised:

https://luceeserver.atlassian.net/browse/LDEV-1497

1 Like