On my sweat-a-thon rides across the Everglades in the summer, I would load up on salty food the day before. A quart of pork fried rice from the local Chinese restaurant gave me lots of carbs, fat, and salt. During my ride I drank water, and a bottle of cola kept in my bag. I would sweat to the point that I was covered with salt crystals, but got no cramps.