Bug #13840 Updated: register object as a session varaible

From: Date: Fri, 26 Oct 2001 16:05:15 +0000
Subject: Bug #13840 Updated: register object as a session varaible
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-69085@lists.php.net to get a copy of this message
ID: 13840
Updated by: hholzgra
Reported By: kelly.shih@comverse.com
Status: Bogus
Bug Type: Session related
Operating System: winNT and win2000
PHP Version: 4.0.6
New Comment:

php sessions can store every PHP data type including
objects

php sessions can *not* store information from outside 
of php (usually identified by the PHP resource data type)

COM objects *are* related to such data 
(and have most likely connection resources
 stored within them)



Previous Comments:
------------------------------------------------------------------------

[2001-10-26 11:53:11] kelly.shih@comverse.com

Bug report.

session_register() function can not register object data type.






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

[2001-10-26 11:47:01] hholzgra@php.net

this is a bug database, not a support channel

please ask your question on eg. the
php-general mailing list

see http://php.net/support.php for further info

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

[2001-10-26 11:17:59] kelly.shih@comverse.com

I have to use a COM object to do authentication.

This is our OLD ASP code and working very good.
=============================================
set Session("AuthenSrv") = Server.CreateObject("AuthenSrv.AuthenSrv.1")  

====================================
I need to convert it into pup and use session_register for that object but it failed.


Is there any way I can solve the problem?  

thank you 







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



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



Thread (5 messages)

« previous php.dev (#69085) next »