how does force_ssl works (Rails 3.1)

how does force_ssl inside a controller works, it just work for the current controller actions? becouse I place force_ssl inside my sessions controller and everytime I access to any action of it I start navigating throw https on my whole page not only inside sessions controller.