php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #7676 session_register doesn't save classes anymore!
Submitted: 2000-11-07 12:22 UTC Modified: 2000-11-27 07:26 UTC
From: pmjo at saunalahti dot fi Assigned:
Status: Closed Package: Session related
PHP Version: 4.0.3pl1 OS: Linux
Private report: No CVE-ID: None
 [2000-11-07 12:22 UTC] pmjo at saunalahti dot fi
My problem is:

I have made a web shop. It stores ShoppingCart class in
sessions. (using session_register)

Before I used php 4.0 and it worked fine.

Now I upgraded to 4.0.3pl1 and the shoppingcart will not be saved anymore. (to the session file)

Is this a bug or should session_register only work with variables and arrays ? not with classes ? 

Damn. It was very nice when I were able to save a class in session. Now I'm in big big big trouble with my shop. :/

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-11-27 07:15 UTC] sniper@php.net
reclassify
 [2000-11-27 07:26 UTC] sniper@php.net
And this is fixed in CVS now.
Please try latest snapshot from http://snaps.php.net/

--Jani

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon May 13 23:01:33 2024 UTC