taiwen / pi

Pi Engine in process
5 stars 0 forks source link

Session problem #9

Closed voltan closed 11 years ago

voltan commented 11 years ago

I see two problems whit session in my test website

1- when I switch www.mydomain.com to mydomain.com ( or inverse ) my session change ( if I have been login it switched to logout and inverse

query: UPDATE `core_session` SET `modified` = :modified, `lifetime` = :lifetime, `data` = :data WHERE (`id` = :where1)
params: [modified] 1360761103;[lifetime] 1440;[data] __ZF|a:3:{s:20:"_REQUEST_ACCESS_TIME";d:1360761103.8887350559234619140625;s:33:"Zend_Validator_Csrf_salt_security";a:1:{s:6:"EXPIRE";i:1360761209;}s:6:"_VALID";a:2:{s:36:"Zend\Session\Validator\HttpUserAgent";s:68:"Mozilla/5.0 (X11; Linux x86_64; rv:18.0) Gecko/20100101 Firefox/18.0";s:33:"Zend\Session\Validator\RemoteAddr";s:13:"209.160.73.43";}}Zend_Validator_Csrf_salt_security|C:23:"Zend\Stdlib\ArrayObject":163:{a:4:{s:7:"storage";a:1:{s:4:"hash";s:32:"73429222181fb28ee51e0466e5d60b43";}s:4:"flag";i:2;s:13:"iteratorClass";s:13:"ArrayIterator";s:19:"protectedProperties";N;}};[where1] 2b93e91f8bff9a4f8fbf7959c2cc650d;

query: UPDATE `core_session` SET `modified` = :modified, `lifetime` = :lifetime, `data` = :data WHERE (`id` = :where1)</div>
params: [modified] 1360761137;[lifetime] 1209600;[data] __ZF|a:4:{s:20:"_REQUEST_ACCESS_TIME";d:1360761137.8739869594573974609375;s:33:"Zend_Validator_Csrf_salt_security";a:1:{s:6:"EXPIRE";i:1360393450;}s:6:"_VALID";a:2:{s:36:"Zend\Session\Validator\HttpUserAgent";s:68:"Mozilla/5.0 (X11; Linux x86_64; rv:18.0) Gecko/20100101 Firefox/18.0";s:33:"Zend\Session\Validator\RemoteAddr";s:13:"209.160.73.43";}s:4:"jump";a:1:{s:11:"EXPIRE_HOPS";a:2:{s:4:"hops";i:0;s:2:"ts";d:1360393186.031898021697998046875;}}}Zend_Validator_Csrf_salt_security|C:23:"Zend\Stdlib\ArrayObject":163:{a:4:{s:7:"storage";a:1:{s:4:"hash";s:32:"bad3514d5f88ab72fc50d5268fcef453";}s:4:"flag";i:2;s:13:"iteratorClass";s:13:"ArrayIterator";s:19:"protectedProperties";N;}}XE_AUTH|C:23:"Zend\Stdlib\ArrayObject":141:{a:4:{s:7:"storage";a:1:{s:6:"member";s:9:"webmaster";}s:4:"flag";i:2;s:13:"iteratorClass";s:13:"ArrayIterator";s:19:"protectedProperties";N;}}jump|C:23:"Zend\Stdlib\ArrayObject":206:{a:4:{s:7:"storage";a:1:{s:6:"params";a:3:{s:4:"time";i:3;s:7:"message";s:0:"";s:3:"url";s:21:"/admin/system/member/";}}s:4:"flag";i:2;s:13:"iteratorClass";s:13:"ArrayIterator";s:19:"protectedProperties";N;}}backoffice|a:4:{s:4:"mode";s:0:"";s:7:"changed";i:0;s:9:"component";s:0:"";s:6:"module";s:0:"";};[where1] 9950930b614777fe09e341495dc1f836;

2- whit www font-awesome.min.css load and work but whit out www is still load but doesn't work.

taiwen commented 11 years ago

Need forward www.domain.tld to domain.tld in dns not in php configs.

voltan commented 11 years ago

Thanks, understand . I will set it whit .htaccess or DNS