powered by Jive Software

Keep connection in HttpSession ? and do I need to close it when user logout

Hi,

Would like to verify if my understanding is correct for web based IM application:

  • I need to keep the connection as a http session scoped object so I can use it over the user login session

  • when the user logout, do I have to close the connection or I can just invalidate the http session and the connection will be closed automatically ?

thanks!

lixin