#20311 [Com]: Apachechild ends with Memory-Read-Error if using session.serialize_handler=wddx

2003-04-02 Thread jpenn at cheetah-soft dot com
 ID:   20311
 Comment by:   jpenn at cheetah-soft dot com
 Reported By:  m dot DOT dot wallner at iworks dot DOT dot at
 Status:   Open
 Bug Type: WDDX related
 Operating System: Windows 2000
 PHP Version:  4.2.3/4.3.0
 New Comment:

Still not working in 4.3.1 - Apache is still terminating when a call to
session_start() is made when using 'wddx' as the serialize handler.
Both win 2000 and red hat 7...


Previous Comments:


[2002-12-29 06:30:33] m dot DOT dot wallner at iworks dot DOT dot at

No changes in 4.3.0 Final.
I'll try a snap soon.

Bye,
Michael



[2002-12-19 23:09:49] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php4-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-latest.zip





[2002-11-11 09:46:00] m dot DOT dot wallner at iworks dot DOT dot at

Status changed to OPEN.
I think that's right, isn't it?

If you call phpinfo() there's one little line not there where it should
be:

Section WDDX
WDDX Support: enabled
WDDX Session Serializer (this line is missing)

Michael



[2002-11-11 06:15:11] m dot DOT dot wallnet at iworks dot DOT dot at

No changes with this version:

Downloaded 11/11/2002

PHP-4.3.0-dev
System: Windows NT localhost 5.0 build 2195 
Build Date: Nov 11 2002 12:13:03 
Server API: Apache 2.0 Filter 
PHP API 20020918
PHP Extension 20020429
Zend Extension 20021010

I used the link above to download the Win32-binaries.

Michael



[2002-11-08 08:51:41] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php4-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-latest.zip



The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/20311

-- 
Edit this bug report at http://bugs.php.net/?id=20311&edit=1



#23029 [NEW]: session.use_only_cookies and ini_set()

2003-04-02 Thread jpenn at cheetah-soft dot com
From: jpenn at cheetah-soft dot com
Operating system: Win 2000 / Red Hat 7
PHP version:  4.3.1
PHP Bug Type: Scripting Engine problem
Bug description:  session.use_only_cookies and ini_set()

When setting a local value using ini_set() for session.use_only_cookies -
the call will always return ( bool )false even on success. Not a critical
problem but does cause a problem in my session handling class where:

ini_set( 'session.use_only_cookies', ( bool )true ) or $this->error(
'ini_set() failed: session.use_only_cookies' );

Thus, triggers my error capturing even when it was successful.
-- 
Edit bug report at http://bugs.php.net/?id=23029&edit=1
-- 
Try a CVS snapshot: http://bugs.php.net/fix.php?id=23029&r=trysnapshot
Fixed in CVS:   http://bugs.php.net/fix.php?id=23029&r=fixedcvs
Fixed in release:   http://bugs.php.net/fix.php?id=23029&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=23029&r=needtrace
Try newer version:  http://bugs.php.net/fix.php?id=23029&r=oldversion
Not developer issue:http://bugs.php.net/fix.php?id=23029&r=support
Expected behavior:  http://bugs.php.net/fix.php?id=23029&r=notwrong
Not enough info:http://bugs.php.net/fix.php?id=23029&r=notenoughinfo
Submitted twice:http://bugs.php.net/fix.php?id=23029&r=submittedtwice
register_globals:   http://bugs.php.net/fix.php?id=23029&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23029&r=php3
Daylight Savings:   http://bugs.php.net/fix.php?id=23029&r=dst
IIS Stability:  http://bugs.php.net/fix.php?id=23029&r=isapi
Install GNU Sed:http://bugs.php.net/fix.php?id=23029&r=gnused



#24252 [Opn]: Problem with session_set_save_handler() when connecting to db outside of obj

2003-09-14 Thread jpenn at cheetah-soft dot com
 ID:   24252
 User updated by:  jpenn at cheetah-soft dot com
 Reported By:  jpenn at cheetah-soft dot com
 Status:   Open
 Bug Type: Feature/Change Request
 Operating System: RHAT 7
 PHP Version:  4.3.1
 New Comment:

Anyone know what the actuall status of this is. I see that the category
was changed to 'feature request', not really sure why.

Is this an internal problem with ZE1?

~ Thanks


Previous Comments:


[2003-07-09 11:09:20] jpenn at cheetah-soft dot com

sniper - sorry for the personal insults, no harm meant. Problem is,
what you just explained as 'full but short' - that is exactly what was
posted - without the opening and closing php tags.

Problem is you can't cut and paste this code as it will not work. If
you are testing this you will need the entire class to do the testing
as without all six (6) of the arg's, the session_set_save_handler()
will not work at all. So, to get what this bug is, you will need the
class itself, which can be found at this address:
http://www.cheetah-soft.com/csh/

Download the class and set up something temporary for it. Once you have
the class as downloaded, it will run fine.

After you have it running, move the db connection outside of the class
and you will see the bug.

Thanks



[2003-07-09 10:55:53] [EMAIL PROTECTED]

Please leave the personal insults out.
You still don't seem to understand what "full but short" script means
so I'll try and explain it simply:

1. It starts with 
2. I can copy'n'paste it from this report to a file and run
without having to edit it / add to it
3. It contains ONLY the necessary lines which show the problem

Clear now?


--------------------

[2003-07-09 10:51:05] jpenn at cheetah-soft dot com

What do you want sniper. Do you want the whole 300 lines of code from
the session handler?

--------------------

[2003-07-09 10:40:03] jpenn at cheetah-soft dot com

[quote]
As long as you fail to provide a full, but short example script which
CLEARLY shows whatta hell you're talking about, this stays bogus.
[/quote]
What in gods name are you talking about? Do you not see in the 4th post
on this bug? That is as clear as it gets. Are you a kid or something
sniper? This is rediculous that you are popping in and out of this and
totally overlooking the posts on this bug.

[From 4th post in this bug]
session_set_save_handler( array( &$this, 'open' ), array( &$this,
'close' ), array( &$this, 'read' ), array( &$this, 'write' ), array(
&$this, 'destroy' ), array( &$this, 'gc' ) );

Now, this is the open method:

function open( $blah, $blah )
{
  $res = mysql_connect( 'blah', 'blah', 'blah' );
  mysql_select_db( 'blah', $res );
  return( true );
}


Do you not see that? Do you want it emailed to you?



[2003-07-09 08:41:59] [EMAIL PROTECTED]

As long as you fail to provide a full, but short example script which
CLEARLY shows whatta hell you're talking about, this stays bogus.




The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/24252

-- 
Edit this bug report at http://bugs.php.net/?id=24252&edit=1


#24252 [NEW]: Problem with session_set_save_handler() when connecting to db outside of obj

2003-06-18 Thread jpenn at cheetah-soft dot com
From: jpenn at cheetah-soft dot com
Operating system: RHAT 7
PHP version:  4.3.1
PHP Bug Type: Session related
Bug description:  Problem with session_set_save_handler() when connecting to db 
outside of obj 

Description:

When connecting to the database inside the class object, everything works
fine with session_set_save_handler(). But, when connecting outside of the
class that holds the methods, php does'nt recognize there is an active
connection to the DB. Is this a known problem that I have overlooked in
the bug db?

I have tried everything, including passing the res id of the connection
into the session handler class but to no avail.

~ Thanks


-- 
Edit bug report at http://bugs.php.net/?id=24252&edit=1
-- 
Try a CVS snapshot: http://bugs.php.net/fix.php?id=24252&r=trysnapshot
Fixed in CVS:   http://bugs.php.net/fix.php?id=24252&r=fixedcvs
Fixed in release:   http://bugs.php.net/fix.php?id=24252&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=24252&r=needtrace
Try newer version:  http://bugs.php.net/fix.php?id=24252&r=oldversion
Not developer issue:http://bugs.php.net/fix.php?id=24252&r=support
Expected behavior:  http://bugs.php.net/fix.php?id=24252&r=notwrong
Not enough info:http://bugs.php.net/fix.php?id=24252&r=notenoughinfo
Submitted twice:http://bugs.php.net/fix.php?id=24252&r=submittedtwice
register_globals:   http://bugs.php.net/fix.php?id=24252&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24252&r=php3
Daylight Savings:   http://bugs.php.net/fix.php?id=24252&r=dst
IIS Stability:  http://bugs.php.net/fix.php?id=24252&r=isapi
Install GNU Sed:http://bugs.php.net/fix.php?id=24252&r=gnused



#24252 [NoF->Opn]: Problem with session_set_save_handler() when connecting to db outside of obj

2003-06-27 Thread jpenn at cheetah-soft dot com
 ID:   24252
 User updated by:  jpenn at cheetah-soft dot com
 Reported By:  jpenn at cheetah-soft dot com
-Status:   No Feedback
+Status:   Open
 Bug Type: Session related
 Operating System: RHAT 7
 PHP Version:  4.3.1
 New Comment:

Ok - I thought the first post was clear.

When using session_set_save_handler() inside a class when using a DB as
the storage medium - you must connect to the DB inside of the open
function/method. First, we set the methods to use:

session_set_save_handler( array( &$this, 'open' ), array( &$this,
'close' ), array( &$this, 'read' ), array( &$this, 'write' ), array(
&$this, 'destroy' ), array( &$this, 'gc' ) );

Now, this is the open method:

function open( $blah, $blah )
{
  $res = mysql_connect( 'blah', 'blah', 'blah' );
  mysql_select_db( 'blah', $res );
  return( true );
}

The above works. When explicitly connecting inside of the open method -
everything works like a charm.

Now, if you DO NOT EXPLICITLY CONNECT (to the DB) inside of this method
- the session handler will not work. This is just not specific to one
DB and (or) operating system, it is a problem accross a magnitude of
platforms.

Is this a scope issue?


Previous Comments:


[2003-06-26 18:23:57] [EMAIL PROTECTED]

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.





[2003-06-19 00:31:59] [EMAIL PROTECTED]

Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.




[2003-06-18 23:57:03] jpenn at cheetah-soft dot com

Description:

When connecting to the database inside the class object, everything
works fine with session_set_save_handler(). But, when connecting
outside of the class that holds the methods, php does'nt recognize
there is an active connection to the DB. Is this a known problem that I
have overlooked in the bug db?

I have tried everything, including passing the res id of the connection
into the session handler class but to no avail.

~ Thanks






-- 
Edit this bug report at http://bugs.php.net/?id=24252&edit=1



#24252 [Bgs->Opn]: Problem with session_set_save_handler() when connecting to db outside of obj

2003-07-07 Thread jpenn at cheetah-soft dot com
 ID:   24252
 User updated by:  jpenn at cheetah-soft dot com
 Reported By:  jpenn at cheetah-soft dot com
-Status:   Bogus
+Status:   Open
 Bug Type: Session related
 Operating System: RHAT 7
 PHP Version:  4.3.1
 New Comment:

Sniper - the example is in my last post. Also:

[quote]
(of course you have to
connect to the database...)
[/quote]
Where did you come up with that? Who in there right mind would think
you would not have to connect to the DB? The whole bug can be summed up
with that small quote.

If you DO NOT CONNECT TO THE DB WITHIN THE OPEN METHOD - it will not
work.

- It will not work if you connect outside of the class
- It will not work if you connect inside the class but in a method
other than the sess_open method
- It will not work if you connect with a DB commection class

It will ONLY WORK if you connect inside the open method for that
function - the session_set_save_handler() function.

Excuse me for getting fustrated - but this was almost a simple bug
report, and very understandable from my first post. This is almost as
simple to understand as anything else the langauge has to offer.

~ Thanks


Previous Comments:


[2003-07-07 19:42:19] [EMAIL PROTECTED]

Either I don't understand what you mean with this or you're just
expecting some weird magic to happen there. (of course you have to
connect to the database...)

Provide a FULL but short example script if you still think this is some
bug.





[2003-06-27 03:02:48] jpenn at cheetah-soft dot com

Ok - I thought the first post was clear.

When using session_set_save_handler() inside a class when using a DB as
the storage medium - you must connect to the DB inside of the open
function/method. First, we set the methods to use:

session_set_save_handler( array( &$this, 'open' ), array( &$this,
'close' ), array( &$this, 'read' ), array( &$this, 'write' ), array(
&$this, 'destroy' ), array( &$this, 'gc' ) );

Now, this is the open method:

function open( $blah, $blah )
{
  $res = mysql_connect( 'blah', 'blah', 'blah' );
  mysql_select_db( 'blah', $res );
  return( true );
}

The above works. When explicitly connecting inside of the open method -
everything works like a charm.

Now, if you DO NOT EXPLICITLY CONNECT (to the DB) inside of this method
- the session handler will not work. This is just not specific to one
DB and (or) operating system, it is a problem accross a magnitude of
platforms.

Is this a scope issue?



[2003-06-26 18:23:57] [EMAIL PROTECTED]

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.





[2003-06-19 00:31:59] [EMAIL PROTECTED]

Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.




[2003-06-18 23:57:03] jpenn at cheetah-soft dot com

Description:

When connecting to the database inside the class object, everything
works fine with session_set_save_handler(). But, when connecting
outside of the class that holds the methods, php does'nt recognize
there is an active connection to the DB. Is this a known problem that I
have overlooked in the bug db?

I have tried everything, including passing the res id of the connection
into the session handler class but to no avail.

~ Thanks






-- 
Edit this bug report at http://bugs.php.net/?id=24252&edit=1



#24252 [Bgs->Opn]: Problem with session_set_save_handler() when connecting to db outside of obj

2003-07-09 Thread jpenn at cheetah-soft dot com
 ID:   24252
 User updated by:  jpenn at cheetah-soft dot com
 Reported By:  jpenn at cheetah-soft dot com
-Status:   Bogus
+Status:   Open
 Bug Type: Session related
 Operating System: RHAT 7
 PHP Version:  4.3.1
 New Comment:

[quote]
As long as you fail to provide a full, but short example script which
CLEARLY shows whatta hell you're talking about, this stays bogus.
[/quote]
What in gods name are you talking about? Do you not see in the 4th post
on this bug? That is as clear as it gets. Are you a kid or something
sniper? This is rediculous that you are popping in and out of this and
totally overlooking the posts on this bug.

[From 4th post in this bug]
session_set_save_handler( array( &$this, 'open' ), array( &$this,
'close' ), array( &$this, 'read' ), array( &$this, 'write' ), array(
&$this, 'destroy' ), array( &$this, 'gc' ) );

Now, this is the open method:

function open( $blah, $blah )
{
  $res = mysql_connect( 'blah', 'blah', 'blah' );
  mysql_select_db( 'blah', $res );
  return( true );
}


Do you not see that? Do you want it emailed to you?


Previous Comments:


[2003-07-09 08:41:59] [EMAIL PROTECTED]

As long as you fail to provide a full, but short example script which
CLEARLY shows whatta hell you're talking about, this stays bogus.




[2003-07-07 19:59:38] jpenn at cheetah-soft dot com

Sniper - the example is in my last post. Also:

[quote]
(of course you have to
connect to the database...)
[/quote]
Where did you come up with that? Who in there right mind would think
you would not have to connect to the DB? The whole bug can be summed up
with that small quote.

If you DO NOT CONNECT TO THE DB WITHIN THE OPEN METHOD - it will not
work.

- It will not work if you connect outside of the class
- It will not work if you connect inside the class but in a method
other than the sess_open method
- It will not work if you connect with a DB commection class

It will ONLY WORK if you connect inside the open method for that
function - the session_set_save_handler() function.

Excuse me for getting fustrated - but this was almost a simple bug
report, and very understandable from my first post. This is almost as
simple to understand as anything else the langauge has to offer.

~ Thanks



[2003-07-07 19:42:19] [EMAIL PROTECTED]

Either I don't understand what you mean with this or you're just
expecting some weird magic to happen there. (of course you have to
connect to the database...)

Provide a FULL but short example script if you still think this is some
bug.





[2003-06-27 03:02:48] jpenn at cheetah-soft dot com

Ok - I thought the first post was clear.

When using session_set_save_handler() inside a class when using a DB as
the storage medium - you must connect to the DB inside of the open
function/method. First, we set the methods to use:

session_set_save_handler( array( &$this, 'open' ), array( &$this,
'close' ), array( &$this, 'read' ), array( &$this, 'write' ), array(
&$this, 'destroy' ), array( &$this, 'gc' ) );

Now, this is the open method:

function open( $blah, $blah )
{
  $res = mysql_connect( 'blah', 'blah', 'blah' );
  mysql_select_db( 'blah', $res );
  return( true );
}

The above works. When explicitly connecting inside of the open method -
everything works like a charm.

Now, if you DO NOT EXPLICITLY CONNECT (to the DB) inside of this method
- the session handler will not work. This is just not specific to one
DB and (or) operating system, it is a problem accross a magnitude of
platforms.

Is this a scope issue?



[2003-06-26 18:23:57] [EMAIL PROTECTED]

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.





The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/24252

-- 
Edit this bug report at http://bugs.php.net/?id=24252&edit=1



#24252 [Opn]: Problem with session_set_save_handler() when connecting to db outside of obj

2003-07-09 Thread jpenn at cheetah-soft dot com
 ID:   24252
 User updated by:  jpenn at cheetah-soft dot com
 Reported By:  jpenn at cheetah-soft dot com
 Status:   Open
 Bug Type: Session related
 Operating System: RHAT 7
 PHP Version:  4.3.1
 New Comment:

What do you want sniper. Do you want the whole 300 lines of code from
the session handler?


Previous Comments:


[2003-07-09 10:40:03] jpenn at cheetah-soft dot com

[quote]
As long as you fail to provide a full, but short example script which
CLEARLY shows whatta hell you're talking about, this stays bogus.
[/quote]
What in gods name are you talking about? Do you not see in the 4th post
on this bug? That is as clear as it gets. Are you a kid or something
sniper? This is rediculous that you are popping in and out of this and
totally overlooking the posts on this bug.

[From 4th post in this bug]
session_set_save_handler( array( &$this, 'open' ), array( &$this,
'close' ), array( &$this, 'read' ), array( &$this, 'write' ), array(
&$this, 'destroy' ), array( &$this, 'gc' ) );

Now, this is the open method:

function open( $blah, $blah )
{
  $res = mysql_connect( 'blah', 'blah', 'blah' );
  mysql_select_db( 'blah', $res );
  return( true );
}


Do you not see that? Do you want it emailed to you?



[2003-07-09 08:41:59] [EMAIL PROTECTED]

As long as you fail to provide a full, but short example script which
CLEARLY shows whatta hell you're talking about, this stays bogus.




[2003-07-07 19:59:38] jpenn at cheetah-soft dot com

Sniper - the example is in my last post. Also:

[quote]
(of course you have to
connect to the database...)
[/quote]
Where did you come up with that? Who in there right mind would think
you would not have to connect to the DB? The whole bug can be summed up
with that small quote.

If you DO NOT CONNECT TO THE DB WITHIN THE OPEN METHOD - it will not
work.

- It will not work if you connect outside of the class
- It will not work if you connect inside the class but in a method
other than the sess_open method
- It will not work if you connect with a DB commection class

It will ONLY WORK if you connect inside the open method for that
function - the session_set_save_handler() function.

Excuse me for getting fustrated - but this was almost a simple bug
report, and very understandable from my first post. This is almost as
simple to understand as anything else the langauge has to offer.

~ Thanks



[2003-07-07 19:42:19] [EMAIL PROTECTED]

Either I don't understand what you mean with this or you're just
expecting some weird magic to happen there. (of course you have to
connect to the database...)

Provide a FULL but short example script if you still think this is some
bug.





[2003-06-27 03:02:48] jpenn at cheetah-soft dot com

Ok - I thought the first post was clear.

When using session_set_save_handler() inside a class when using a DB as
the storage medium - you must connect to the DB inside of the open
function/method. First, we set the methods to use:

session_set_save_handler( array( &$this, 'open' ), array( &$this,
'close' ), array( &$this, 'read' ), array( &$this, 'write' ), array(
&$this, 'destroy' ), array( &$this, 'gc' ) );

Now, this is the open method:

function open( $blah, $blah )
{
  $res = mysql_connect( 'blah', 'blah', 'blah' );
  mysql_select_db( 'blah', $res );
  return( true );
}

The above works. When explicitly connecting inside of the open method -
everything works like a charm.

Now, if you DO NOT EXPLICITLY CONNECT (to the DB) inside of this method
- the session handler will not work. This is just not specific to one
DB and (or) operating system, it is a problem accross a magnitude of
platforms.

Is this a scope issue?



The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/24252

-- 
Edit this bug report at http://bugs.php.net/?id=24252&edit=1



#24252 [Fbk->Opn]: Problem with session_set_save_handler() when connecting to db outside of obj

2003-07-09 Thread jpenn at cheetah-soft dot com
 ID:   24252
 User updated by:  jpenn at cheetah-soft dot com
 Reported By:  jpenn at cheetah-soft dot com
-Status:   Feedback
+Status:   Open
 Bug Type: Session related
 Operating System: RHAT 7
 PHP Version:  4.3.1
 New Comment:

sniper - sorry for the personal insults, no harm meant. Problem is,
what you just explained as 'full but short' - that is exactly what was
posted - without the opening and closing php tags.

Problem is you can't cut and paste this code as it will not work. If
you are testing this you will need the entire class to do the testing
as without all six (6) of the arg's, the session_set_save_handler()
will not work at all. So, to get what this bug is, you will need the
class itself, which can be found at this address:
http://www.cheetah-soft.com/csh/

Download the class and set up something temporary for it. Once you have
the class as downloaded, it will run fine.

After you have it running, move the db connection outside of the class
and you will see the bug.

Thanks


Previous Comments:


[2003-07-09 10:55:53] [EMAIL PROTECTED]

Please leave the personal insults out.
You still don't seem to understand what "full but short" script means
so I'll try and explain it simply:

1. It starts with 
2. I can copy'n'paste it from this report to a file and run
without having to edit it / add to it
3. It contains ONLY the necessary lines which show the problem

Clear now?


----------------

[2003-07-09 10:51:05] jpenn at cheetah-soft dot com

What do you want sniper. Do you want the whole 300 lines of code from
the session handler?

----------------

[2003-07-09 10:40:03] jpenn at cheetah-soft dot com

[quote]
As long as you fail to provide a full, but short example script which
CLEARLY shows whatta hell you're talking about, this stays bogus.
[/quote]
What in gods name are you talking about? Do you not see in the 4th post
on this bug? That is as clear as it gets. Are you a kid or something
sniper? This is rediculous that you are popping in and out of this and
totally overlooking the posts on this bug.

[From 4th post in this bug]
session_set_save_handler( array( &$this, 'open' ), array( &$this,
'close' ), array( &$this, 'read' ), array( &$this, 'write' ), array(
&$this, 'destroy' ), array( &$this, 'gc' ) );

Now, this is the open method:

function open( $blah, $blah )
{
  $res = mysql_connect( 'blah', 'blah', 'blah' );
  mysql_select_db( 'blah', $res );
  return( true );
}


Do you not see that? Do you want it emailed to you?



[2003-07-09 08:41:59] [EMAIL PROTECTED]

As long as you fail to provide a full, but short example script which
CLEARLY shows whatta hell you're talking about, this stays bogus.




[2003-07-07 19:59:38] jpenn at cheetah-soft dot com

Sniper - the example is in my last post. Also:

[quote]
(of course you have to
connect to the database...)
[/quote]
Where did you come up with that? Who in there right mind would think
you would not have to connect to the DB? The whole bug can be summed up
with that small quote.

If you DO NOT CONNECT TO THE DB WITHIN THE OPEN METHOD - it will not
work.

- It will not work if you connect outside of the class
- It will not work if you connect inside the class but in a method
other than the sess_open method
- It will not work if you connect with a DB commection class

It will ONLY WORK if you connect inside the open method for that
function - the session_set_save_handler() function.

Excuse me for getting fustrated - but this was almost a simple bug
report, and very understandable from my first post. This is almost as
simple to understand as anything else the langauge has to offer.

~ Thanks



The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/24252

-- 
Edit this bug report at http://bugs.php.net/?id=24252&edit=1