Hi, I am using rails 2.2 I an getting this error. "ActionController::InvalidAuthenticityToken" I have an code in my erb file is like this: <div style="float:left;border:1px solid red;width:200px;height:250px;"> <div id="pdf_title" style="display:none"> Title: <%=text_field(:page, :title, :size => 20)%> <a href="#" onclick="add_title();">Create</a> </div> <script> function page_title(){ $(''pdf_title'').style.display=''block''; } function add_title(){ var pdf_title=$(''page_title'').value; //alert(pdf_title); var url="face/add_title" new Ajax.Updater('''', url, {asynchronous:true, evalScripts:true,onComplete:function(request){reset_div();},parameters:{page_title: pdf_title }}); } </script> Whenever I am clicking onto the Create link I am getting error. "ActionController::InvalidAuthenticityToken" Could any one please help me out urgently. I am new in rails 2.0 and above Thanks, Tushar -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---