Hi everybody,
I used AjaxFileUpload control in AjaxControlTookit to implement my multiple files upload page, everything ok but now, I need to check a Authentication token before call upload (to prevent CSRF). My issue is I can't post my Auth Token with AjaxFileUpload, it's always replace my query string. Ex:
before click button Upload of AjaxFileUpload control:
useraddphoto.aspx?tk=mytoken
but the request will be :
useraddphoto.aspx?contextKey={DA8BEDC8-B952-4d5d-8CC2-59FE922E2923}&start=1&queue=1
It possible to get a link such as:
useraddphoto.aspx?__tk=mytoken&contextKey={DA8BEDC8-B952-4d5d-8CC2-59FE922E2923}&start=1&queue=1__
I used AjaxFileUpload control in AjaxControlTookit to implement my multiple files upload page, everything ok but now, I need to check a Authentication token before call upload (to prevent CSRF). My issue is I can't post my Auth Token with AjaxFileUpload, it's always replace my query string. Ex:
before click button Upload of AjaxFileUpload control:
useraddphoto.aspx?tk=mytoken
but the request will be :
useraddphoto.aspx?contextKey={DA8BEDC8-B952-4d5d-8CC2-59FE922E2923}&start=1&queue=1
It possible to get a link such as:
useraddphoto.aspx?__tk=mytoken&contextKey={DA8BEDC8-B952-4d5d-8CC2-59FE922E2923}&start=1&queue=1__