Vagabond asked:

What's so special about the flash session variable?

Nitro’s session always seem to have a flash variable in them, what does it do?

(1 attempts)

Vagabond answered:

According to Nitro's RDoc:

"A Flash is a special hash object that lives in the session. The values stored in the Flash are typically maintained for the duration of one request. After the request is over, the Hash is cleared.

You may want to use the Flash to pass error messages or other short lived objects."

Rating: 4