Unix-based server
Oracle 10g
PHP 5.1.4
I have three Oracle queries on the page, each their own function, to query and make a select drop-down. Two small boxes (less than 10 rows) and another large box (about 700 rows).
I also have a function (see below) that is used to check the auth status of the user. It is called once at the start of the page, and a second time in the body for a "User Box" where two session variables are printed back to the browser (user's name and another text string, both stored in session when they login).
On my winxp machine, Firefox and IE will both hang before drawing anything from the source if EITHER my large select box is trying to query too many rows (limit is like 7 or 8, very small) OR my is_authed() function is called again in the page. If I comment out the two small queries, I can return like 5 or 6 more rows in the large query before the browser will hang, but not anywhere near the max. I can return all results if I comment out one of the is_authed() checks.
Can any of you think of a reason this may be happening? Myself and co-workers thought it was a memory issue of some kind, but ini_set('memory_limit','16M') didn't help, so it must not be PHP's memory limit. register_globals is ON, but because of the system, ini_set('register_globals',0) and .htaccess attempts to change register_globals do not work.
Another weird thing is that once the browser hangs and won't load the page one time, I must delete my cookies before it will even load the scaled-back working version of the page.
If you would like to see more code to help diagnose the problem, please let me know.
Oracle 10g
PHP 5.1.4
I have three Oracle queries on the page, each their own function, to query and make a select drop-down. Two small boxes (less than 10 rows) and another large box (about 700 rows).
I also have a function (see below) that is used to check the auth status of the user. It is called once at the start of the page, and a second time in the body for a "User Box" where two session variables are printed back to the browser (user's name and another text string, both stored in session when they login).
On my winxp machine, Firefox and IE will both hang before drawing anything from the source if EITHER my large select box is trying to query too many rows (limit is like 7 or 8, very small) OR my is_authed() function is called again in the page. If I comment out the two small queries, I can return like 5 or 6 more rows in the large query before the browser will hang, but not anywhere near the max. I can return all results if I comment out one of the is_authed() checks.
Can any of you think of a reason this may be happening? Myself and co-workers thought it was a memory issue of some kind, but ini_set('memory_limit','16M') didn't help, so it must not be PHP's memory limit. register_globals is ON, but because of the system, ini_set('register_globals',0) and .htaccess attempts to change register_globals do not work.
Another weird thing is that once the browser hangs and won't load the page one time, I must delete my cookies before it will even load the scaled-back working version of the page.
If you would like to see more code to help diagnose the problem, please let me know.