I'm trying to use the php upload_progress feature with symfony2. I set my session.upload_progress.prefix and session.upload_progress.name in my php.ini. My form below :
<form id="form-import-file" action="" method="post" {{ form_enctype(form) }} class="form-horizontal">
{{ form_widget(form.file, { 'attr':{'class':'input-file-import'}}) }}
{{ form_rest(form) }}
{{ form_errors(form.file) }}
<input type="hidden" name="{{ upload_progress_name }}" value="123" />
<button type="submit" class="btn btn-success">Submit</button>
</form>
where upload_progress_name = ini_get("session.upload_progress.name").
The upload is okay, but the session doesn't show any upload infos. Any help ?