ui.upload: how to add session params to the upload script
hi,
i tried to add session information to the upload script by adding a
hidden field
<form action="ajax_server.php" enctype="multipart/form-data"
method="post" id="frmLogin">
<input type="hidden" name="cmd" value="img_upload" />
<input type="hidden" name="sid" value="{$sid}" />
but this does not work
then i tried to pass the param in the script.js file
jQuery(document).ready(function() {
jQuery('.inputWrapper').upload({
bDebug: true,
oBrowse: jQuery('#btnBrowse'),
oUpload: jQuery('#btnUpload'),
oCancel: jQuery('#btnCancel'),
sScript: '../ajax_server.php?cmd=img_upload&sid=<sid>',
but this did not work.
my ajax_server.ph gets called, but the session param is missing
if i disable javascript everything works fine, so i thing the flash
app is not passing the session id
any hints for me?
best regards
stefan