Csrf Token Verification Error While Uploading File Using Plupload

Hello,

I’m trying to upload a video file on server using PlUpload.

On PlUpload forum website I was unable to find any solution about how to send [color="#006400"]additional field value[/color] before upload.

I want to post CSRF token and its value before video uploading get started. Right now my server throwing an error with [font="Courier New"][color="#FF0000"][400 Bad Request] "The CSRF token could not be verified."[/color][/font].

Please help me

[font="Courier New"]

Thanks[/font]

http://stackoverflow.com/questions/9535462/how-to-send-additional-data-using-plupload

Your CSRF token name and value are stored in




Yii::app()->request->csrfTokenName;

Yii::app()->request->csrfToken;



It works.

Thanks a ton boss