RE: [PHP-DB] Two session for the same user, possible?

2004-10-22 Thread Chris Gregors
The session information is bound to the users computer and the browser they use. option 1: user logs into app using a different computer (2 laptops) option 2: user logs into app using a different browser (ie and firefox) option 3: sessions have a lifetime of one screen (aka no session persistance)

RE: [PHP-DB] Recursively determine parent records?

2004-10-07 Thread Chris Gregors
interesting reading and requires a slight restructuring of how the records are stored to pull off but with the wonderful result in being much faster to retrieve. Chris Gregors wrote: > Here's a piece of some code I wrote that does what you want. You'll need > to change the WhoIsMyPare

RE: [PHP-DB] Recursively determine parent records?

2004-10-06 Thread Chris Gregors
Here's a piece of some code I wrote that does what you want. You'll need to change the WhoIsMyParent() function to match your database abstraction and schema. $array = BreadCrumbs($id); print_r($array); exit; function BreadCrumbs($parent) { // construct an array of indexes that represents