Mickie D
06-02-2015, 07:26 AM
Hi there,
I need some help with the javascript placement for the security token...
this is the code
<script>
var r = new Resumable({
target:'downloads.php',
chunkSize:1*1024*1024,
simultaneousUploads:4,
testChunks:false,
throttleProgressCallbacks:1
});
I think this is the code i need to put in...
SESSIONURL + 'securitytoken=' + SECURITYTOKEN + '&foo=' + foo);
not 100% though...
thanks all.
Mick
--------------- Added 1433241894 at 1433241894 ---------------
I tried this
<script>
var r = new Resumable({
sessionurl:SESSIONURL,
target:'downloads.php',
chunkSize:1*1024*1024,
simultaneousUploads:4,
testChunks:false,
securitytoken:SECURITYTOKEN,
throttleProgressCallbacks:1
});
But this does not work, When I turn on CRSF at the top of the file - nothing uploads.
I need some help with the javascript placement for the security token...
this is the code
<script>
var r = new Resumable({
target:'downloads.php',
chunkSize:1*1024*1024,
simultaneousUploads:4,
testChunks:false,
throttleProgressCallbacks:1
});
I think this is the code i need to put in...
SESSIONURL + 'securitytoken=' + SECURITYTOKEN + '&foo=' + foo);
not 100% though...
thanks all.
Mick
--------------- Added 1433241894 at 1433241894 ---------------
I tried this
<script>
var r = new Resumable({
sessionurl:SESSIONURL,
target:'downloads.php',
chunkSize:1*1024*1024,
simultaneousUploads:4,
testChunks:false,
securitytoken:SECURITYTOKEN,
throttleProgressCallbacks:1
});
But this does not work, When I turn on CRSF at the top of the file - nothing uploads.