Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wiped Session or Crash #5

Open
Critical-Impact opened this issue Apr 7, 2012 · 1 comment
Open

Wiped Session or Crash #5

Critical-Impact opened this issue Apr 7, 2012 · 1 comment

Comments

@Critical-Impact
Copy link

Hi I've been able to get your uploader to work albiet by modifying your code, which seems weird because I believe it should work.

When I use your sample code normally, my session gets wiped(I'm using Craue's form flow bundle so each step is stored in the session).

I attempted to pass the session directly from the controller into the _sessionid of the uploadify script, this uploaded the file but in the returned JSON there was a fatal php error "Exception thrown without a stack frame".

The only way I've been able to get it to both submit and not clear my previous session is by removing this segment of code
$request->cookies->set(session_name(), 1);
session_id($this->decrypt($request->request->get('_sessionid')));
from RequestListener.php

I'm using the 2.0x branch of symfony if it helps.

@ruian
Copy link
Owner

ruian commented Apr 9, 2012

if you remove these lines, you disable the ability of uploadify to upload in secured area like Admin zone.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants