How to Issue a new session token or session credentials upon successfully authenticating the user. I want to delete both the previous session token or credentials, as well as the server context associated with the previous session, whether the user has logged in or out.
After login I need a new jsession id to avoid session fixation attack.
Please help me out, any sample code.