Soak your hair w/cold water before you swim, slather on some conditioner if you want (it prevents the chlorine from reaching the hair shaft) and wear a swim cap if you can. After swimming, rinse with warm water for a few minutes, then with cool. Chlorine doesn't make your scalp dirty, so there is no need to wash with the bs. If your hair feels dry, straw-like, etc. try using some natural oil, like coconut or what have you, rubbed into the ends to keep them moisturized.
I haven't gone swimming yet, but I had an idea and wanted to put it out there to see what others thought. I am likely going to end up with dry hair (I always do every summer)...I wonder if damping it down and putting a little oil (jojoba, almond, etc.) on the ends would help?
I think the most important step to protecting hair from chlorine is to get it good and wet with either plain water or vinegar water before you get in. Conditioner, oil (we use jojoba), or even suntan lotion applied to the hair will help keep the chlorine out of the hair shaft.
After swimming, I rinse at the pool with plain water if it is available. Then I use bs solution (not paste) at home, rinse well (soak if possible) in plain water, then dilute vinegar solution final rinse and leave it in.