I wonder what can happen and what 开发者_如何学编程is not guaranteed.
- You will eventually run out of database connections in the connection pool.
- You can run out of memory and the jvm will throw an out of memory exception.
And there can be many more, above are the ones I have faced due to mishandling sessions in my previous projects.
On second thoughts, imagine not using the loo for a week (you should get the idea :D)
精彩评论