Quantcast
Channel: AjaxControlToolkit Work Item Rss Feed
Viewing all articles
Browse latest Browse all 4356

Edited Unassigned: AjaxFileUpload ignore my query string [27635]

$
0
0
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

Is it possible to get a link such as:
useraddphoto.aspx?__tk=mytoken&contextKey={DA8BEDC8-B952-4d5d-8CC2-59FE922E2923}&start=1&queue=1__

Viewing all articles
Browse latest Browse all 4356

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>