Detect client session support

Hi,I have a simple question.
What´s the best way to detect if the client has session support?.
I want to hide some functions of my web application to robots(seo stuff)
and I would need to check in my controllers if the client has session
support, if the client supports sessions I initialize some variables and
then use it in my views if not(most likely it´s a robot) this functions
are hidden.
Another option would be to use javascript in my views to show the “only
human functions” but I would prefer to keep it in the controller side.

Some suggestions?

Thanks - Alfredo Garcia - Spain

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs