php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #13840 register object as a session varaible
Submitted: 2001-10-26 11:17 UTC Modified: 2001-10-26 12:05 UTC
From: kelly dot shih at comverse dot com Assigned:
Status: Not a bug Package: Session related
PHP Version: 4.0.6 OS: winNT and win2000
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: kelly dot shih at comverse dot com
New email:
PHP Version: OS:

 

 [2001-10-26 11:17 UTC] kelly dot shih at comverse dot 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 






Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-10-26 11:47 UTC] 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:53 UTC] kelly dot shih at comverse dot com
Bug report.

session_register() function can not register object data type.





 [2001-10-26 12:05 UTC] hholzgra@php.net
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)


 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Mon May 05 18:01:29 2025 UTC