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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 13:01:30 2024 UTC