Duplicate uf alerts


#1

I’ve intermittently come across duplicated alerts (e.g. the one telling the user they have been logged out, but also some other ones). I’ve also sometimes encountered double alerts where the first is saying ‘Your session has expired’ and the second is saying ‘Welcome back’ - e.g. it’s as if the previous alert isn’t cleared properly.

I’m not really clear on whether or not this is something daft I’ve done (highly likely) or another issue. Is there a place in the sprinkle structure, or another particular area I should be looking at as a starting point?

Thanks!


#2

It’s some kind of known issue caused by some race condition. The default behavior uses Sessions to store the alerts. You can change the alert storage method to cache in the config, it should help address this issue.


#3

Thanks - will check that out.