php - (CakePHP on WAMP) page hangs on load only in IE -
i'm developing application in cakephp , i've been debugging firefox. has been great until decided test ie , came across strange behavior. pages not load in ie, they'll sit there loading status. page hangs simple, makes use of cakephp's html helper create single form , check authcomponent::user() (to see if user logged in). i'm convinced issue has sessions. open page in ie , in fact hang, can't view page in firefox until stop connection in ie.
again, issue not occur whatsoever in firefox. i've tried fixes posted within sessionid cookie in cakephp causing page hang no luck.
update: installed xdebug. placed call xdebug_break() @ beginning of index.php in webroot directoy. when requests in ie hang, breakpoint never triggered. i'm suspecting wamp acting up?
here code causing concern, in root controller other controllers extend.
public function beforefilter() { if($this->auth->user()) { if($this->auth->user('roles') == 'admin') $this->layout = 'admin'; else if($this->auth->user('roles') == 'partner') $this->layout = 'partner'; else if($this->auth->user('roles') == 'user') $this->layout = 'user'; } $this->set('currentcontroller', $this->request['controller']); $this->set('username', $this->auth->user('username')); }
it looks it's issue apache.
resolved adding
acceptfilter http none acceptfilter https none
to httpd.conf
Comments
Post a Comment