作業メモ:Seasar2 セッションの再作成方法について

作成されたセッションを破棄した後、再作成する処理が不明だった為、
色々なサイトを巡った所、以下の掲示板でのやり取りがマッチしていた事から備忘録。

最初はDIされているセッションを破棄した後、
どのタイミングでセッションが作成されるのか不明確だったが、成る程。(メモメモ

引用元:http://ml.seasar.org/archives/seasar-user/2009-May/017429.html
> @Resource
> public HttpSession httpSession;
>
> @Resource
> public HttpServletRequest httpServletRequest;
>
> UserValue userValue = (UserValue) httpSession.getAttribute("UserValue");
> httpSession.invalidate();
> httpSession = httpServletRequest.getSession();
> httpSession .setAttribute("UserValue", userValue);


引用元:http://ml.seasar.org/archives/seasar-user/2009-May/017431.html
> これは [Seasar-user:17333] と同件で,Seasar2.4.35
> 固有の問題です.
> https://www.seasar.org/issues/browse/CONTAINER-361
>
> これより前のバージョンおよび次にリリースされる
> バージョンでは発生しません.