I have problem with cakePHP sessions on localhost!

        Configure::write('Session.start', true);

but when i use view session by this code:

print_r($_SESSION)

receive : Array( )

after i start session manually by that: session_start();
Session work normal and i can read and write objects, but i see that
message in the header:

Warning: session_start() [function.session-start]: Cannot send session
cache limiter - headers already sent

I see that i can't send header info after cakePHP sent it. But how I
can to use session in this case.

Very strange because session autostart enabled.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to