Hi there,
I am using Zend Framework and 3rd party application written in php for file upload. Upload process is ajax like, and I have annoying problem probably caused by this app.
Problem is that upload application somehow destroys my Zend_Session!
Here is the error which I am getting (with firebug console):
And this is code in my ZF controller which works fine, but after the error displayed abbove, If I go to this controller I will be redirected to google.com
public function init()
{
$this->_projects = new Projects();
$this->_memberSes = new Zend_Session_Namespace('MyMember');
}
public function preDispatch()
{
$member = $this->_memberSes->member;
if ($member==null){
$this->_redirect('http://www.google.com');
}
}
Problematic code in 3rd party app looks like this: http://pastie.org/738837
I know that my question isn't perfectly clear, but I am out of ideas and any kind of help means to me a lot! Thanks.