I'm working for a company that has chosen to use the db for session handling in magento. Specifically, in /app/etc/local.xml there is this entry:
<session_save><![CDATA[db]]></session_save>
I understand that the data is being saved in the table core_session
. However, I'm not familiar with how to read from and write to the session object.
with session_start()
it's easy, I just write
$_SESSION['status']='OK'; //write
$status= $_SESSION['status']; //read
What is the equivalent method when magento is using db
as a session storage method? I assume it's a class method. Thanks.