[PHP-DEV] Bug #13378 Updated: Auto session start + obejct

2001-12-19 Thread yohgaki

ID: 13378
Updated by: yohgaki
Reported By: [EMAIL PROTECTED]
Status: Open
Old Bug Type: Session related
Bug Type: Feature/Change Request
Operating System: Linux
PHP Version: 4.0.6
New Comment:

Many users want to unserialize/initilize object after session is started, I suppose.

Type = Feature Request

Previous Comments:


[2001-09-21 12:42:30] [EMAIL PROTECTED]

Well, this is not really a bug , but:
When using session.auto_start , there is no way to load a 
class first, so session objects are pretty much not usable 
that way. I may be wrong, but I couldn't find any way to do 
it but doing a session_write_close(); session_start();

However this is not a solution because it wastes resources 
- writing the session files and opening it again for 
nothing. I belive that a session_reload() (or another 
solution for this case) should exist.







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


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Bug #13378 Updated: Auto session start + obejct

2001-12-20 Thread derick

ID: 13378
Updated by: derick
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Closed
Bug Type: Feature/Change Request
Operating System: Linux
PHP Version: 4.0.6
New Comment:

This is already implemented, we have a undocumented functinno for that, but I can't 
recall the name now :)

Derick

Previous Comments:


[2001-12-19 22:44:45] [EMAIL PROTECTED]

Many users want to unserialize/initilize object after session is started, I suppose.

Type = Feature Request



[2001-09-21 12:42:30] [EMAIL PROTECTED]

Well, this is not really a bug , but:
When using session.auto_start , there is no way to load a 
class first, so session objects are pretty much not usable 
that way. I may be wrong, but I couldn't find any way to do 
it but doing a session_write_close(); session_start();

However this is not a solution because it wastes resources 
- writing the session files and opening it again for 
nothing. I belive that a session_reload() (or another 
solution for this case) should exist.







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


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Bug #13378 Updated: Auto session start + obejct

2001-12-20 Thread bernd

ID: 13378
Updated by: bernd
Reported By: [EMAIL PROTECTED]
Status: Closed
Bug Type: Feature/Change Request
Operating System: Linux
PHP Version: 4.0.6
New Comment:

This is already documented, too
http://www.php.net/manual/en/function.unserialize.php
(if you thought of that feature.)

ATTENTION: for 4.2.0-dev only...

Bernd


Previous Comments:


[2001-12-20 03:48:09] [EMAIL PROTECTED]

This is already implemented, we have a undocumented functinno for that, but I can't 
recall the name now :)

Derick



[2001-12-19 22:44:45] [EMAIL PROTECTED]

Many users want to unserialize/initilize object after session is started, I suppose.

Type = Feature Request



[2001-09-21 12:42:30] [EMAIL PROTECTED]

Well, this is not really a bug , but:
When using session.auto_start , there is no way to load a 
class first, so session objects are pretty much not usable 
that way. I may be wrong, but I couldn't find any way to do 
it but doing a session_write_close(); session_start();

However this is not a solution because it wastes resources 
- writing the session files and opening it again for 
nothing. I belive that a session_reload() (or another 
solution for this case) should exist.







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


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DEV] Bug #13378 Updated: Auto session start + obejct

2001-12-20 Thread Teodor Cimpoesu

Hi derick!
On Thu, 20 Dec 2001, [EMAIL PROTECTED] wrote:

> ID: 13378
> Updated by: derick
> Reported By: [EMAIL PROTECTED]
> Old Status: Open
> Status: Closed
> Bug Type: Feature/Change Request
> Operating System: Linux
> PHP Version: 4.0.6
> New Comment:
> 
> This is already implemented, we have a undocumented functinno for that, but I can't 
>recall the name now :)
> 
do you mean __sleep() / __wakeup()?

> [2001-12-19 22:44:45] [EMAIL PROTECTED]
> 
> Many users want to unserialize/initilize object after session is started, I suppose.
> 
> Type = Feature Request
> 

-- teodor

-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DEV] Bug #13378 Updated: Auto session start + obejct

2001-12-20 Thread Derick Rethans

Hello Teodor,

I meant the callback at
http://www.php.net/manual/en/function.unserialize.php

regaards,
Derick

On Thu, 20 Dec 2001, Teodor Cimpoesu wrote:

> Hi derick!
> On Thu, 20 Dec 2001, [EMAIL PROTECTED] wrote:
>
> > ID: 13378
> > Updated by: derick
> > Reported By: [EMAIL PROTECTED]
> > Old Status: Open
> > Status: Closed
> > Bug Type: Feature/Change Request
> > Operating System: Linux
> > PHP Version: 4.0.6
> > New Comment:
> >
> > This is already implemented, we have a undocumented functinno for that, but I 
>can't recall the name now :)
> >
> do you mean __sleep() / __wakeup()?
>
> > [2001-12-19 22:44:45] [EMAIL PROTECTED]
> >
> > Many users want to unserialize/initilize object after session is started, I 
>suppose.
> >
> > Type = Feature Request
> >
>
> -- teodor
>


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DEV] Bug #13378 Updated: Auto session start + obejct

2001-12-20 Thread Yasuo Ohgaki

Derick Rethans wrote:

> Hello Teodor,
> 
> I meant the callback at
> http://www.php.net/manual/en/function.unserialize.php
> 
> regaards,
> Derick
> 


Thank you Derick,
I should have known that ;)

-- 
Yasuo Ohgaki


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]