When you enter the country on an H1B or otherwise do anything related to any visa status, the onus is on you to carry around all relevant and supporting documentation, in physical, original paper form. Visas, passports etc. existed before computers, probably in much the same way as they do today.