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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
48 - 31 = ?
Subscribe to this entry?

 
 [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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 14:01:30 2024 UTC