It's not that he wants to save everything when the session is invalidated. He wants to have two HttpSession objects, representing the same user.
On 8/29/06, Puneet Lakhina <[EMAIL PROTECTED]> wrote:
On 8/29/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > Hello! > > Is it possible to create a new session for an already logged in person > (which > has an actual session) without invalidating the existing session? It's > necessary > for me to have the old session before creating an additional one, because > I have > to get few datas from the old session for the new one. > > request.getSession(true) gives a new session, but only if the user doesn't > have > an existing session. > I think you could use session listeners, which fires an event before a session is invalidated or created where you could persist any information that you want. -- Puneet