[PHP] Re: Session's is slowing the page ??

2002-05-28 Thread Dima Dubin
//or session_end() if your php knows it > > That way you can access $copy_* in the body instead of session variables. > It works as readonly access to session data > > Tom > > Dima Dubin wrote: > > > Hi Tom > > Thanks for your help but the problem still happe

[PHP] Re: Session's is slowing the page ??

2002-05-28 Thread Dima Dubin
ion > > Tom > > PS: in my PHP version 4.04 , function session_readonly() is unknown. What I > use instead is: > > session_start(); > > session_write_close(); //session_end is also unknown by 4.0.4 > > > > Dima Dubin wrote: > > > Hello Tom > >

[PHP] Re: Session's is slowing the page ??

2002-05-28 Thread Dima Dubin
ion explicitely, it > remains opened until the script is terminated. > The solution is to close a session as soon as possible (session_write_close) or > use non-blocking read-only sessions (session_readonly instead of session_start) > in case you don't need to modify registered var

[PHP] Re: Session's is slowing the page ??

2002-05-27 Thread Dima Dubin
h GC sweep, as > more GC sweeps will be called overall. > > That's just a guess, though. > > J > > > Dima Dubin wrote: > > > Hello, > > I have very wierd problem : > > I use session to manage users and I have this structure of the page : > >

[PHP] Session's is slowing the page ??

2002-05-27 Thread Dima Dubin
Hello, I have very wierd problem : I use session to manage users and I have this structure of the page : - include("db.php"); include("header.php"); bla bla include("footer.php"); - in the db.php I have : session_start(); #some mysql connect stuff I use session with the $_SESS