Q.: why is redirectMap a variable of application and not a transient
variable of session? redirectMap currently contains per Session data.
Will the entry be removed from redirectMap if the session expires?
Everything that is older then 5 minutes is removed
a redirect should never stay there more then a few seconds for a specific session
If it did stay then a redirect would not come which is i think very very uncommon.
But i guess we could move it to a transient session thing.
But then we need to call:
final WebSession session = webApplication.getSession(request, false);
to get our own session. And that one does all kind of things like initing the session
for example call attach() And that can't be happening for just serving the buffered response.
So i guess we could silently get the session our self. (httpsession.getAttribute(wicket-session-key)
but that is not very nice.
Maybe a RedirectHolder with a transient Map ? that can be in the httpsession with its own key?
