Re: Session-Write() problems
Hi, Now all works fine, I think the problem was caused to say No to the use sessions question when baked anothers MVC and visit these pages after authentication. Thanks to all faemino --~--~-~--~~~---~--~~ 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-Write() problems
I'm just throwing up suggestions here. Maybe the session folder is not set in your php.ini 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 -~--~~~~--~~--~--~---
Re: Session-Write() problems
with the CAKE_SESSION_SAVE set to cake you are telling it to save sessions using CakePHP. So, maybe you don't have permissions set to the tmp/sessions directory?? I would try chaning it to php and see if that works. Although it looks like your sessions are getting created fine. It looks like somewhere in your code the required Session variable that you seek isn't being written. I suspect a minute problem in your coding that is causing the Session variable to never get written or duplicate redirects causing it to get deleted. --~--~-~--~~~---~--~~ 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-Write() problems
Initially I had problems with security set to high, but that was in RC and before versions. Ever since v1 has been officially released I haven't had any problems with the high setting. --~--~-~--~~~---~--~~ 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-Write() problems
Hi to all, I'm developing a User authentication simple system based on the documentation (http://manual.cakephp.org/appendix/simple_user_auth). Using the same documentation code the Session-Write method always return false. The print_r(Session) return the next information (Manager.name is a needed data): SessionComponent Object ( [_log] = [CakeSession] = CakeSession Object ( [valid] = 1 [error] = Array ( [2] = Manager.name doesn't exist [1] = Session is valid ) [_userAgent] = db705e734fe1b3546ccff45684742877 [path] = /admin/ [lastError] = 2 [security] = high [time] = 1158059664 [sessionTime] = 1158060864 [_log] = [host] = admin.sekloso [cookieLifeTime] = 0 ) [base] = /admin [webroot] = /admin/ [here] = /admin/listings/ [params] = Array ( [controller] = listings [action] = index [url] = Array ( [url] = listings/ ) [bare] = 0 [webservices] = [plugin] = ) [action] = index [data] = [plugin] = ) I don't know where is the problem. I've read all documentation pages and wiki without solutions. Info: Cake version: CakePHP 1.1.7.3363 OS: Ubuntu GNU/Linux Dapper. Apache: 2.0 mod_rewrite PHP: 5.1.2 core.php: define('CAKE_SESSION_SAVE', 'cake'); define('CAKE_SESSION_COOKIE', 'CAKEPHP'); define('CAKE_SECURITY', 'high'); define('CAKE_SESSION_TIMEOUT', '120'); I've the same problem on a production server. Anyone know what can i do? Thanks for advance! faemino --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---