//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
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
> >
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
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 :
> >
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
5 matches
Mail list logo