This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Stateful webapp advice

 
shaf maff
Ranch Hand
Posts: 180
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Guys

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 ]
 
Gopikrishna Kunisetty
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi 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 ]
 
arulk pillai
Author
Ranch Hand
Posts: 3387
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You calear the data that is no longer required by


 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic