I once listened to a presentation by a naturalist on the habits and handling of bears etc. She recommended carrying bear spray but she also said to be aware that it is only effective 50% of the time. You have to be closer than 15 feet for it to be possibly effective.

Howie