[phplib] PHPlib - Performance From: Christian.Thiele <email protected>
Date: 01/17/01

Hi,

yesterday I switched on the debug flag in phplib and was surprised how many
DB-accesses are needed to enter one website.

Debug: query = select val from active_sessions where sid =
'0d5257f79f2880573473d8dc70ce4c7b' and name = 'sid'
Debug: query = select user_id, perms from auth_user where username = '' and
BINARY password = ''
Debug: query = select user_id, perms from auth_user where username = '' and
BINARY password = ''

This the body code of a login screen, I am not logged in and coming from a
static website without sessions. So its a new session...first a select...(?)
and why there are 2 times the select user_id, perms statement?
PageClose brings 3 DB-accesses more...

How can I increase the number of DB-accesses??

Bye
Christian

---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>