php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #9004 Can not serialize($HTTP_SESSION_VARS);
Submitted: 2001-01-30 10:52 UTC Modified: 2001-02-19 03:54 UTC
From: vgo at nrd dot lt Assigned:
Status: Closed Package: Session related
PHP Version: 4.0.4 OS: Windows 2000
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: vgo at nrd dot lt
New email:
PHP Version: OS:

 

 [2001-01-30 10:52 UTC] vgo at nrd dot lt
The server crashes when executing this code ??? May be this is brohibited?

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-02-17 13:17 UTC] sbergmann@php.net
$HTTP_SESSION_VARS provides a means to access the contents of registered session variables if you have disabled register_globals.

There is no sense in doing the following 

<?php
  session_start();
  session_register("HTTP_SESSION_VARS");
?>

Neither the code shown above, nor 

  $s = serialize($HTTP_SESSION_VARS);

causes a crash on my system.
 [2001-02-19 03:54 UTC] vgo at nrd dot lt
The "need" is to get all session variables in one string. Used for bug reporting....
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Feb 11 21:01:29 2025 UTC