A colegue of mine said to me a month ago that in the routines on phpbuilder.com there 
are one or few bugs. Look at the code. The
problem is in session handlers.

Hope this will help you.


Andrey Hristov
IcyGEN Corporation
http://www.icygen.com
BALANCED SOLUTIONS


----- Original Message -----
From: "php-jp" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, August 31, 2001 1:56 PM
Subject: [PHP] session.save_handler = user


> Hello!
>
> I have a question regarding sessions when
>
>  register_globals = off
>
> in php.ini
>
> Using the example from www.php.net:
>
> <?
> session_register("count");
> $HTTP_SESSION_VARS["count"]++;
> ?>
>
> This works well when
>
>    session.save_handler = files
>
> However, when
>
>    session.save_handler = user
>
> where the "user" functions are the ones found on phpbuilder.com.  It
> turns out that  the sess_write rountine is NEVER called, ie.
> session_registered variables aren't saved.
>
> I thought there was something wrong with the customer-handler but for
> debugging purposes,  I took out everything except things like:
>
> function sess_write ($key, string value) {
>    echo ( "sess_write was called.<br>");
> }
>
> and yet, it was ever called!  Other functions like read, gc, destory
> works great.
>
> However, if I change php.ini to
>
>    register_globals = ON
>
> Then the above sess_write function would be called!
>
> Is this a known problem, or am I missing something?
>
> reg.
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to