I think that you mean 1/(1-cosβ) + 1/(1+cosβ) = 2 + 2cot2β
1/(1-cosβ)+1/(1+cosβ) = [1+cosβ+1-cosβ]/[(1-cosβ)(1+cosβ)]
= 2/(1-cos2β)
= 2/sin2β
= 2csc2β
= 2(1+cot2β)
= 2 + 2cot2β