Tuesday 24 July 2018

Passing a message with Express redirect

Hi. I'm using an Express 4 server and I need to pass a message when redirecting from one route to another. I don't want to use querystrings so I came upon the package express-flash which uses sessions to flash messages between routes which is exactly what I need but it's made for Express 3 and hasn't been updated in over 5 years.Does anyone know of a similar up-to-date package or perhaps a different approach?

Submitted July 24, 2018 at 12:56PM by dr_goodweather

No comments:

Post a Comment