On Nov 12, 2008, at 6:43 PM, xxmithila wrote:

>
> Help me...
>
> error on form post:-
>
>             ActionController::InvalidAuthenticityToken
>
>
> this is the my code
> ----------------------------
>
> RHTML file
>
> <form method="post" action= "\msg\confirm\">
>
> <input type="text" name="text1">
>
> <input type="submit"/>
> -----------------------------------------------------------------------
> CONTROLLER
> class MsgController < ApplicationController
>  def confirm
>    @data = params[:text1]
>    end
> end
> ------------------------------------------------------------------------
>
>
> what is the reason, Im stucked help me
> mithila.

Read this (near the bottom):

http://ryandaigle.com/articles/2007/9/24/what-s-new-in-edge-rails-better-cross-site-request-forging-prevention

-philip

--~--~---------~--~----~------------~-------~--~----~
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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to