Hi,

I can't seem to get DB session to work in 1.2.3.8166. I have used DB
sessions many times before in the eariler versions.

This is what i've done:

1. download version 1.2.3.8166
2. set db and salt and cake sessions to point to cake_sessions table
3. verified table exists
4. open site and make sure its all "green"
5. created simple controller to test sessions

CODE:
-------------------------------------------------------------------------
<?php

class TestsController extends AppController {

        var $uses = array();

        var $components = array('Session');

        function index()
        {
                Configure::write('debug',2);

                $this->autoRender = false;

                $this->Session->write('mykey','100');

                pr($this->Session->read());

        }

}

?>

6. access tests page in browser and the session data is outputted to
screen, BUT no data has been saved to the DB table.

7. i have tried to set session security level to low

WHAT HAVE I MISSED??  its doing my head in!!!


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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