reset_session Clears Flash Contents Before Method Exits

Hello,

In the code below, if reset_session is called in action index, flash[:test] is not passed to action special. I would expect that calling reset_session would clear anything in the session/flash which was set before reset_session was called but to have no impact on the storage of anything in the session/flash after it reset_session was called.

Interesting..."p flash" in action index reveals that the flash stores appropriate contents after reset_session is called. The clearing of the flash occurs during the redirect.

Is this a bug?

Thank you, Ben Gribaudo