Session problem on ie
hi, sorry for my english. i have a problem about sessions on internet explorer. When i use $this-Session-write method or standart $_SESSION assignment in controller, internet explorer cannot save my session variables ( cannot set cookie ). it works fine on firefox. Otherwise when i try this thing in standart php procedures ( not using cake framework system, exp. session_start(); $_SESSION['test'] = 1; ) , it works fine both browsers. Thanks for help. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php -~--~~~~--~~--~--~---
Session problem on ie
hi, sorry for my english. i have a problem about sessions on internet explorer. When i use $this-Session-write method or standart $_SESSION assignment in controller, internet explorer cannot save my session variables ( cannot set cookie ). it works fine on firefox. Otherwise when i try this thing in standart php procedures ( not using cake framework system, exp. session_start(); $_SESSION['test'] = 1; ) , it works fine both browsers. Thanks for help. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php -~--~~~~--~~--~--~---
Re: Session problem on ie
are you using a subdomain with the character '_' in the name? IE doesn't support cookies in domains like my_domain.wordpress.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php -~--~~~~--~~--~--~---
Re: Session problem on ie
Jac wrote: hi, sorry for my english. i have a problem about sessions on internet explorer. When i use $this-Session-write method or standart $_SESSION assignment in controller, internet explorer cannot save my session variables ( cannot set cookie ). it works fine on firefox. Otherwise when i try this thing in standart php procedures ( not using cake framework system, exp. session_start(); $_SESSION['test'] = 1; ) , it works fine both browsers. Thanks for help. If CAKE_SESSION_SAVE is set to php and CAKE_SECURITY is set to high, then sessions in cakephp should behave like using sessions normally in php, except that cakephp adds this setting: ini_set('session.referer_check', $this-host). Perhaps you can try commenting out this line in session.php Bernardo --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php -~--~~~~--~~--~--~---
Re: Session problem on ie
i tried this. Unfortunately, it didn't work bernardo. Thanks. i will use standart login structure and redirect to cake :) i hate ie :) thanks for help my friends. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php -~--~~~~--~~--~--~---
Re: Session problem on ie
Onur HOS wrote: i tried this. Unfortunately, it didn't work bernardo. Thanks. i will use standart login structure and redirect to cake :) i hate ie :) thanks for help my friends. Another solution; in app/config/core.php; define('AUTO_SESSION', true); if this value is false, cake could not start session automatically and create instance of Session class too. We could write our session code in controller with starting session_start(). --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php -~--~~~~--~~--~--~---
Re: Session problem on ie
also you could add session_start() function to /app/config/bootstrap.php. Every page including this file. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php -~--~~~~--~~--~--~---