how to maintain session information in swings