This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I am working on a stateful webapp. I am wondering what I should do when I update my DB tables. Should I delete the whole session and rebuild it or should update the session ? [ September 23, 2008: Message edited by: shaf maff ]
If updating the db tables is last action that you have to do in that usecase scenario or with that session, you can invalidate the session. Otherwise, if there is scope for the user still to interact with the system, probably you may not be invalidating the session. [ September 24, 2008: Message edited by: Gopikrishna Kunisetty ]