Re: [PHP] Common way to store db-password of open session?

2011-12-03 Thread Andreas
Am 29.11.2011 23:54, schrieb Tamara Temple: As I read it, the OP may be confusing application user logins and the credentials used by the application to access the data base. Individual application users should *NOT* have access directly to the data base by having their individual credentials i

[PHP] End of session clean-up

2011-12-03 Thread Andre Majorel
Hello all. I need to purge old records from application tables when a session expires. How do I register a callback with the end-of session-garbage collection system ? session_set_save_handler() lets me override the native garbage collection, not *add* to it, as far as I can tell. Thanks in advanc

Re: [PHP] Common way to store db-password of open session?

2011-12-03 Thread Stuart Dallas
On 3 Dec 2011, at 16:46, Andreas wrote: > Am 29.11.2011 23:54, schrieb Tamara Temple: >> As I read it, the OP may be confusing application user logins and the >> credentials used by the application to access the data base. Individual >> application users should *NOT* have access directly to the

Re: [PHP] End of session clean-up

2011-12-03 Thread Stuart Dallas
On 3 Dec 2011, at 16:57, Andre Majorel wrote: > Hello all. I need to purge old records from application tables > when a session expires. How do I register a callback with the > end-of session-garbage collection system ? > session_set_save_handler() lets me override the native garbage > collection,

Re: [PHP] End of session clean-up

2011-12-03 Thread Andre Majorel
On 2011-12-03 17:41 +, Stuart Dallas wrote: > On 3 Dec 2011, at 16:57, Andre Majorel wrote: > > > Hello all. I need to purge old records from application tables > > when a session expires. How do I register a callback with the > > end-of session-garbage collection system ? > > session_set_save

Re: [PHP] End of session clean-up

2011-12-03 Thread Stuart Dallas
-Stuart -- Stuart Dallas 3ft9 Ltd http://3ft9.com/ On 3 Dec 2011, at 18:07, Andre Majorel wrote: > On 2011-12-03 17:41 +, Stuart Dallas wrote: >> On 3 Dec 2011, at 16:57, Andre Majorel wrote: >> >>> Hello all. I need to purge old records from application tables >>> when a session expires.

Re: [PHP] Common way to store db-password of open session?

2011-12-03 Thread Tamara Temple
Andreas wrote: > Am 29.11.2011 23:54, schrieb Tamara Temple: > > As I read it, the OP may be confusing application user logins and > > the credentials used by the application to access the data > > base. Individual application users should *NOT* have access directly > > to the data base by having