Storing credit card info in web servers under my company's control creates severe security risk. It is an incentive to break in. It forces us to guard acces to our our database with great care. It is a legal liability.

Obviously this would only really be useful to users who are on the same browser from one session to another, so there is a UX hit.

Would it be a security improvement to put this info in HTML5 local storage?