For an online examination system, user actions/answers to be stored and later retrieved if user connection is down.
Which logic should be preferred, client side logic [cookie], or server side logic [Session/Database]?
[Edit]
How user answers will be stored? using specific timer interval for storing user answers? or after specific parts of exam? What is best practice for implementing such solutions?