I have a plugin for uploading files using jquery uploadify. After calling a method from this plugin the session is lost. I’m no longer logged in.
Is there a way to make all the pages from this plugin public? What can cause this behavior?
Thanks.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You need to preserve your session, pass your session ID over with the uploadify POST data.
Once you have sent that over, reinitiate the session using:
In your
beforeFilter();This will cause your session to pick back up. The reason it broke, is because Flash is an entirely different user agent.