Token_tag in Flash?

Yo,
I’ve got this data POSTing from a Flash App and I need to figure out
how this little <%= token_tag %> works so I can give the Flash the
proper validation. See, I get this
ActionController::InvalidAuthenticityToken because you know, gotta
defend those POSTs, but how do I get the toke into my Flash?

I’m somewhat new, so if there is some way obvious easier way then let me
know.

On 1/30/08, Di Mo [email protected] wrote:

Yo,

Sup…

I’ve got this data POSTing from a Flash App and I need to figure out
how this little <%= token_tag %> works so I can give the Flash the
proper validation. See, I get this
ActionController::InvalidAuthenticityToken because you know, gotta
defend those POSTs, but how do I get the toke into my Flash?

I’m somewhat new, so if there is some way obvious easier way then let me
know.

I’ve just been adding

:form_authenticity_token => form_authenticity_token

to my url_for params.


Greg D.
http://destiney.com/

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