Ways to detect if session cookies are enabled?

Hi,

In rails, what is the best way to detect if session cookies are enabled?

Does rails 1.0 and 1.1 handle this differently?