after debugging the session object, it outputted the following array: SessionComponent Object ( [__active] => 1 [valid] => 1 [error] => [_userAgent] => 15988584ca32783087cd2ffdbb6ba45b [path] => /som/ [lastError] => [security] => high [time] => 1184469726 [sessionTime] => 1184470926 [watchKeys] => Array ( )
[_log] => [host] => ************* [cookieLifeTime] => 0 [base] => /som [webroot] => /som/ [here] => /som/shopping_carts/show/ [params] => Array ( [pass] => Array ( ) [controller] => shopping_carts [action] => show [url] => Array ( [url] => shopping_carts/show/ ) [bare] => 0 [webservices] => [plugin] => ) [action] => show [data] => [plugin] => ) so my question now is though, how do i get [_userAgent] => 15988584ca32783087cd2ffdbb6ba45b to a variable from this? On Jul 14, 11:55 pm, r557 <[EMAIL PROTECTED]> wrote: > I'm looking for how to get the session id being generated by CakePHP. > i have my session working fine, but would like to know how to find out > what the session id is so i can store it in a db table. > > how do i do this? --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---