This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

relating cookies & sessions

 
sushant prabhu
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
till know i hav worked on lot of examples of sessions and cookies but only individually
i want to do session tracking with the help of cookies.
i.e i want to retrieve content pertaining to individual session
via cookies at the server end and store in the datatbase .
say i hav developed a shopping cart which consists of 2 items .
u can keep on adding any number of the 2 items to the cart.
then i have a view option button thru which i show the total number of items in the cart. and lastly i hav buy option to where i just display that the order for so and so items has been accepted and i invalidate the session.
now here with the help of cookies i want to send a cookie to every client who request for this shopping cart servlet and retrieve the shopping contents of all users .
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic