How to use Coookies

When i used authenticate by session in view i used this code

<% if != session[:id]%>
<%= link_to ‘ïÔÐÒÁ×ÉÔØ óÏÏÂÝÅÎÉÅ’,
:controller => ‘users’,
:action => ‘messages’,
:id => @user,
:anchor => ‘send_message’
<% end %>

Now i authenticated user by cookies, how can i change above code for
it’ll work

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